id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8135,[lockfree] compile time capacity difference behavior,Akira Takahashi ,timblechmann,"http://lists.boost.org/boost-users/2013/02/77649.php I confused with boost::lockfree::queue behavior. Fist, run-time capacity: {{{ #include #include int main() { boost::lockfree::queue> que(3); std::cout << std::boolalpha; std::cout << que.push(1) << std::endl; // true std::cout << que.push(2) << std::endl; // true std::cout << que.push(3) << std::endl; // true std::cout << que.push(4) << std::endl; // false } }}} I think this behavior is correct. But, compile-time capacity: {{{ #include #include int main() { boost::lockfree::queue> que; std::cout << std::boolalpha; std::cout << que.push(1) << std::endl; // true std::cout << que.push(2) << std::endl; // true std::cout << que.push(3) << std::endl; // false : why? std::cout << que.push(4) << std::endl; // false } }}} Is this bug or specification?",Bugs,closed,To Be Determined,lockfree,Boost 1.53.0,Problem,fixed,,