N
n.torrey.pines
std:air explicitly defines a default constructor. This makes it
impossible to instantiate it with a type that does not have a default
constructor (or it is private).
I wonder if it would be possible to define std:air in such a way
(using template metaprogramming) that the default constructor is
defined if and only if both of pair's argument types are default-
constructible.
impossible to instantiate it with a type that does not have a default
constructor (or it is private).
I wonder if it would be possible to define std:air in such a way
(using template metaprogramming) that the default constructor is
defined if and only if both of pair's argument types are default-
constructible.