summaryrefslogtreecommitdiffstats
path: root/src/corelib/arch/qatomic_armv5.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-12-02 18:37:05 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-30 18:05:38 +0100
commite4533e3aebeb3aa47ecfdef39d0b5bbc1186ad39 (patch)
treedba6ea0037c0e27704fa924570f5612a75a674af /src/corelib/arch/qatomic_armv5.h
parent1b3a424bcf5948aefd72e514cf40662deeabbe30 (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