🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Neal Becker Tue, 19 Dec 1995 02:49
What does WP say about this?
#2948
Author: Neal Becker
Date: Tue, 19 Dec 1995 02:49
20 lines
938 bytes
I found (accidentally) what appears to work for a 2-dimensional
vector:

template<class T> class V {
private:
  vector< vector<T> > m_vector;
  int _Size;
public:
  V(int Size, int Depth) : _Size(Size), m_vector (Size, vector<T>(Depth)) {}
[...]

I can't find any justification for the m_vector constructor call in
the working paper.  Any hints?


---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads