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


Hello!

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

http://liveworkspace.org/code/3c355fc61db67d52266a66103bce325a

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?

Thanks!

[1] http://www.chaoticmind.net/~hcb/projects/boost.atomic/

-- 
Regards,
  niXman

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net