Searched defs:PrivateConstructor (Results 1 - 1 of 1) sorted by relevance

/external/libcxx/test/support/
H A Dprivate_constructor.hpp15 struct PrivateConstructor { struct
17 PrivateConstructor static make ( int v ) { return PrivateConstructor(v); }
20 PrivateConstructor ( int v ) : val(v) {} function in struct:PrivateConstructor
24 bool operator < ( const PrivateConstructor &lhs, const PrivateConstructor &rhs ) { return lhs.get() < rhs.get(); }
26 bool operator < ( const PrivateConstructor &lhs, int rhs ) { return lhs.get() < rhs; }
27 bool operator < ( int lhs, const PrivateConstructor &rhs ) { return lhs < rhs.get(); }
29 std::ostream & operator << ( std::ostream &os, const PrivateConstructor &foo ) { return os << foo.get (); }

Completed in 107 milliseconds