"Don't initialize to list size zero since that creates a temporary and destroys it (for gosh knows what reasons)"
That's because it calls a constructor with a default parameter. Vis:
CompOption::Vector(o, CompOption());
« Back to merge proposal
"Don't initialize to list size zero since that creates a temporary and destroys it
(for gosh knows what reasons)"
That's because it calls a constructor with a default parameter. Vis:
CompOption: :Vector( o, CompOption());