diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-12-02 18:37:05 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-30 18:05:38 +0100 |
commit | e4533e3aebeb3aa47ecfdef39d0b5bbc1186ad39 (patch) | |
tree | dba6ea0037c0e27704fa924570f5612a75a674af /src/corelib/arch/qatomic_armv5.h | |
parent | 1b3a424bcf5948aefd72e514cf40662deeabbe30 (diff) |
Introduce QAtomicInteger<T> and derive QAtomicInt from it
QAtomicInteger<T> is to QBasicAtomicInteger<T> what QAtomicInt was to
QBasicAtomicInt: just a little more syntactic sugar. The Basic classes
do not always have a constructor, since they depend on compiler
support. The constructor is always present in the non-Basic class, at
the expense of making it non-POD for C++98 code.
This commit also repurposes most of QAtomicInt's documentation for
QAtomicInteger. It adds only the Q_ATOMIC_INTnn_IS_SUPPORTED macro
that explains whether the given type is supported on this platform.
Change-Id: I58886d6fa49fea4de24015c40dae29c9fa534e00
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/corelib/arch/qatomic_armv5.h')
0 files changed, 0 insertions, 0 deletions