Changes between Initial Version and Version 1 of Ticket #8189


Ignore:
Timestamp:
Feb 28, 2013, 7:01:38 AM (10 years ago)
Author:
Antony Polukhin
Comment:

Current patch has following issues, that must be solved before merging:

  • has_* functions must be renamed to is_*able to better reflect their behavior and to have more conformance with C++11
  • is_pod<T>::value || __has_trivial_move_assign(T) and is_pod<T>::value || __has_trivial_move_constructor(T) must be added to Clang and VC11 intrinsics
  • tests for detection of triviality and noexcept of user defined move operators and constructors on compilers with noexcept support

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8189

    • Property Status newassigned
  • Ticket #8189 – Description

    initial v1  
    11Boost.Varaint has the following traits, that can be used across
    22modules and sould be ported to Boost.TypeTraits
    3 
     3{{{
    44has_nothrow_move_assign
    55has_nothrow_move_constructor
    66has_trivial_move_assign
    77has_trivial_move_constructor
    8 
     8}}}
    99Implementation may be tuned to use C++11 features it they are available.