Ignore:
Timestamp:
Jan 20, 2017, 3:19:49 AM (6 years ago)
Author:
Peter
Message:

fixes #877

Generalize YAT_CXX_RVALUE into YAT_CXX_TRY_CXX11 and use that to
implement new macro YAT_CXX_ATOMIC. Use this macro in configure.ac and
use std::atomic<> conditoionally in RNG singleton.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/config_public.h.in

    r3581 r3591  
    5858/// Don't turn on cxx11 features if user explicitely turned off cxx11.
    5959#ifndef YAT_WITHOUT_CXX11
    60 /// Define if compiler support rvalues */
     60/// Define if compiler supports rvalues */
    6161#undef YAT_HAVE_RVALUE
     62/// Define if compiler supports atomic */
     63#undef YAT_HAVE_ATOMIC
    6264#endif
    6365
Note: See TracChangeset for help on using the changeset viewer.