
25 Jul
2006
25 Jul
'06
1:43 p.m.
On Tue, 25 Jul 2006 10:32:29 -0300, Fernando Cacciola <fernando_cacciola@hotmail.com> wrote:
none would have internal linkage according to 7.1.5.1/2. So it wouldn't violate the ODR. But a pointer to none from one translation unit would differ from a pointer to none from a different TU.
Does this difference matter?
My opinion is that if it doesn't matter for Boost.Optional then it doesn't matter. I see none and none_t as Optional's implementation details which unfortunately went into the root directory. -- [ Gennaro Prota, C++ developer for hire ]