
12 Apr
2011
12 Apr
'11
8:06 p.m.
On Wed, Apr 13, 2011 at 1:56 AM, Stewart, Robert <Robert.Stewart@sig.com> wrote:
You're right regarding references, of course, but a pointer to const should allow initialization from 0, right?
It's interesting no compiler I know of currently support it. C++0x draft 14.3.2 [temp.arg.nontype] paragraph 1, allows non-type template argument to be a constant expression that evaluates to a null pointer value or null member pointer value. Quick searching tells me this change was made in N1905(2005-10-19). -- Ryou Ezoe