Modify

Opened 5 years ago

Closed 2 months ago

#7976 closed Bugs (fixed)

[Atomic] undocument types and macros

Reported by: Akira Takahashi <faithandbrave@…> Owned by: timblechmann
Milestone: To Be Determined Component: atomic
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

Some types seems missing in Boost 1.53.0 doc. http://www.boost.org/doc/libs/1_53_0/doc/html/atomic/interface.html

namespace boost {

typedef atomic<char> atomic_char;
typedef atomic<unsigned char> atomic_uchar;
typedef atomic<signed char> atomic_schar;
typedef atomic<uint8_t> atomic_uint8_t;
typedef atomic<int8_t> atomic_int8_t;
typedef atomic<unsigned short> atomic_ushort;
typedef atomic<short> atomic_short;
typedef atomic<uint16_t> atomic_uint16_t;
typedef atomic<int16_t> atomic_int16_t;
typedef atomic<unsigned int> atomic_uint;
typedef atomic<int> atomic_int;
typedef atomic<uint32_t> atomic_uint32_t;
typedef atomic<int32_t> atomic_int32_t;
typedef atomic<unsigned long> atomic_ulong;
typedef atomic<long> atomic_long;
typedef atomic<uint64_t> atomic_uint64_t;
typedef atomic<int64_t> atomic_int64_t;
typedef atomic<boost::ulong_long_type> atomic_ullong;
typedef atomic<boost::long_long_type> atomic_llong;
typedef atomic<void*> atomic_address;
typedef atomic<bool> atomic_bool;
typedef atomic<wchar_t> atomic_wchar_t;
typedef atomic<char16_t> atomic_char16_t;
typedef atomic<char32_t> atomic_char32_t;
typedef atomic<int_least8_t> atomic_int_least8_t;
typedef atomic<uint_least8_t> atomic_uint_least8_t;
typedef atomic<int_least16_t> atomic_int_least16_t;
typedef atomic<uint_least16_t> atomic_uint_least16_t;
typedef atomic<int_least32_t> atomic_int_least32_t;
typedef atomic<uint_least32_t> atomic_uint_least32_t;
typedef atomic<int_least64_t> atomic_int_least64_t;
typedef atomic<uint_least64_t> atomic_uint_least64_t;
typedef atomic<int_fast8_t> atomic_int_fast8_t;
typedef atomic<uint_fast8_t> atomic_uint_fast8_t;
typedef atomic<int_fast16_t> atomic_int_fast16_t;
typedef atomic<uint_fast16_t> atomic_uint_fast16_t;
typedef atomic<int_fast32_t> atomic_int_fast32_t;
typedef atomic<uint_fast32_t> atomic_uint_fast32_t;
typedef atomic<int_fast64_t> atomic_int_fast64_t;
typedef atomic<uint_fast64_t> atomic_uint_fast64_t;
typedef atomic<intmax_t> atomic_intmax_t;
typedef atomic<uintmax_t> atomic_uintmax_t;
typedef atomic<std::size_t> atomic_size_t;
typedef atomic<std::ptrdiff_t> atomic_ptrdiff_t;
typedef atomic<intptr_t> atomic_intptr_t;
typedef atomic<uintptr_t> atomic_uintptr_t;

class atomic_flag;

}

And feature testing macros:

BOOST_ATOMIC_CHAR16_T_LOCK_FREE
BOOST_ATOMIC_CHAR32_T_LOCK_FREE
BOOST_ATOMIC_WCHAR_T_LOCK_FREE
BOOST_ATOMIC_POINTER_LOCK_FREE
BOOST_ATOMIC_BOOL_LOCK_FREE

BOOST_ATOMIC_FLAG_LOCK_FREE

Attachments (0)

Change History (3)

comment:1 Changed 2 years ago by anonymous

Why hasn't atomic_flag been documented?

comment:2 Changed 2 years ago by harris.pc@…

Version: Boost 1.53.0Boost 1.59.0

comment:3 Changed 2 months ago by Andrey Semashev

Resolution: fixed
Status: newclosed

All mentioned items are now documented in develop. The new docs will be released in 1.66.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain timblechmann.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.