namespace test { namespace stdcxx { #if __cplusplus < 201103L using ::std::tr1::function; using ::std::tr1::bind; using ::std::tr1::shared_ptr; using ::std::tr1::dynamic_pointer_cast; namespace placeholders { using ::std::tr1::placeholders::_1; using ::std::tr1::placeholders::_2; using ::std::tr1::placeholders::_3; using ::std::tr1::placeholders::_4; using ::std::tr1::placeholders::_5; using ::std::tr1::placeholders::_6; using ::std::tr1::placeholders::_7; } // test::stdcxx::placeholders #else// c++ 11 using ::std::function; using ::std::bind; using ::std::shared_ptr; using ::std::dynamic_pointer_cast; namespace placeholders { using ::std::placeholders::_1; using ::std::placeholders::_2; using ::std::placeholders::_3; using ::std::placeholders::_4; using ::std::placeholders::_5; using ::std::placeholders::_6; using ::std::placeholders::_7; } // test::stdcxx::placeholders #endif } // namespace stdcxx } // namespace test namespace cxx = test::stdcxx;