
24 Oct
2009
24 Oct
'09
3:42 p.m.
AMDG Andrew Sutton wrote:
typedef string Colour;
struct edge_properties {
vector < set< Colour > & > eColours;
}
No, it won't compile. Template arguments of a vector are required to be default constructible.
The template arguments of vector are only required to be CopyConstructible and Assignable. In Christ, Steven Watanabe