🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2948

What does WP say about this?

#2948
From: 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. ]
Technical Details
Message-ID: <u9zqcq3w8e.fsf@neal.ctd.comsat.com>
Path: arc1-ca.pugleaf.net!howland.reston.ans.net!agate!agate!matt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!howland.reston.ans.net!agate!agate!matt
From: neal@ctd.comsat.com (Neal Becker)
Newsgroups: comp.std.c++
Subject: What does WP say about this?
Date: 19 Dec 1995 02:49:29 GMT
Organization: COMSAT Labs
Approved: matt@Austern (Matt Austern)
Message-ID: <u9zqcq3w8e.fsf@neal.ctd.comsat.com>
NNTP-Posting-Host: austern.hip.berkeley.edu