$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] atomic_count::operator++ return type
From: JOAQUIN M. LOPEZ MUÑOZ (joaquin_at_[hidden])
Date: 2009-04-09 18:48:50
Hi,
Some of the implementations of
boost::detail::atomic_count::operator++ return a long
(vg. Win32) while for others the return type is void.
Is it feasible to change this so that a long (i.e. the value
of the atomic count after incrementing) is returned always?
As it happens, I have a usage case for this in Boost.Flyweight.
Thanks in advance.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo