private:
virtual unsigned get_data_size() const;
virtual const void *get_data_pointer() const { return &data[0]; }
public:
unsigned size() const { return data.size()/stride; }
private:
virtual unsigned get_data_size() const;
virtual const void *get_data_pointer() const { return &data[0]; }
public:
unsigned size() const { return data.size()/stride; }