Updated example checking SD-6 macro

This commit is contained in:
Edward Diener
2015-06-15 10:00:02 -04:00
parent 4f80398754
commit b351a9a1ed

View File

@ -16,8 +16,11 @@ namespace boost_no_cxx14_hdr_shared_mutex {
int test()
{
using std::shared_mutex;
#if defined(__cpp_lib_shared_timed_mutex) && __cpp_lib_shared_timed_mutex == 201402
using std::shared_timed_mutex;
#else
using std::shared_mutex;
#endif
return 0;
}