Boost logo

Boost Users :

Subject: [Boost-users] error: partial specialization after instantiation when using boost.atomic
From: niXman (i.nixman_at_[hidden])
Date: 2012-04-26 08:36:39


I try to use boost.atomic library[1] and when compiling this trivial code:
> #include <iostream>
> #include <boost/atomic.hpp>
> int main() {}

and I get the following error:
> boost/atomic/detail/integral-casts.hpp:155:7:
> error: partial specialization of 'boost::detail::atomic::platform_atomic<T, 4u>'
> after instantiation of 'boost::detail::atomic::platform_atomic<int>'

I try to find the 'boost::detail::atomic::platform_atomic<int>'
specialization, but couldn`t find it.
Maybe someone faced with a similar error. Or maybe someone has an idea
what kind of error is this, in fact?




Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at