
28 Nov
2012
28 Nov
'12
4:36 p.m.
On Wed, Nov 28, 2012 at 8:33 AM, Jeffrey Lee Hellrung, Jr. < jeffrey.hellrung@gmail.com> wrote:
On Tue, Nov 27, 2012 at 11:05 PM, Andrey Semashev < andrey.semashev@gmail.com> wrote:
On Wed, Nov 28, 2012 at 3:35 AM, Jeffrey Lee Hellrung, Jr. <jeffrey.hellrung@gmail.com> wrote:
[...]
private: struct _boost_explicit_operator_bool_struct { }; typedef int
(_boost_explicit_operator_bool_struct::*_boost_explicit_operator_bool_result_type);
public: operator _boost_explicit_operator_bool_result_type () const { return 0; }
I guess this could be simplified slightly with just typedef (nullptr_t::*_boost_explicit_operator_bool_result_type); ---- And by that, I mean typedef int (nullptr_t::*_boost_explicit_operator_bool_result_type); - Jeff