When BOOST_SP_REPORT_IMPLEMENTATION is defined, report what platform-specific atomic implementation is used

This commit is contained in:
Peter Dimov
2020-06-02 20:51:38 +03:00
parent 4047290b85
commit 6c181a0707
36 changed files with 252 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
// Copyright 2020 Peter Dimov
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
#define BOOST_SP_REPORT_IMPLEMENTATION
#include <boost/shared_ptr.hpp>
#include <boost/smart_ptr/detail/spinlock.hpp>
#include <boost/smart_ptr/detail/atomic_count.hpp>
int main()
{
}