OSDN Git Service

* include/bits/atomic_base.h (__calculate_memory_order): Rename to...
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Dec 2011 09:44:57 +0000 (09:44 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Dec 2011 09:44:57 +0000 (09:44 +0000)
commite11c67d07882cd920df5357ef8612e9c3cae5fea
treeffa845dbce459568e9c10113059b153f10283e4f
parente3694d1dc050cd9d8d66ac56810a66abc138d4b7
* include/bits/atomic_base.h (__calculate_memory_order): Rename to...
(__cmpexch_failure_order): This, and rewrite as constexpr function.
(compare_exchange_strong, compare_exchange_weak): Use it.
* include/std/atomic (compare_exchange_strong, compare_exchange_weak):
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182105 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/atomic_base.h
libstdc++-v3/include/std/atomic