[C++-sig] Construct for c++ class with reference

Neal D. Becker ndbecker2 at verizon.net
Tue Apr 20 13:41:55 CEST 2004


How should I wrap this (simplified example):

struct X {
  X (int& _x) : x (_x) {}
  int& x;
};







More information about the Cplusplus-sig mailing list