18#ifndef Fl_Int_Vector_H
19#define Fl_Int_Vector_H
27#include <FL/Fl_Export.H>
71class FL_EXPORT Fl_Int_Vector {
83 void copy(
int *newarr,
unsigned int newsize);
94 Fl_Int_Vector(Fl_Int_Vector &o) {
96 copy(o.arr_, o.size_);
104 Fl_Int_Vector &operator=(Fl_Int_Vector &o) {
106 copy(o.arr_, o.size_);
114 int operator[](
int x)
const {
126 int &operator[](
int x) {
131 unsigned int size()
const {
135 void size(
unsigned int count);
144 int tmp = arr_[size_ - 1];
150 void push_back(
int val) {
151 unsigned int x = size_;
162 return arr_[size_ - 1];
170 return (size_ == 0) ? true :
false;