Weird code in lockfree::queue::reserve (compilation error)
2 Apr
2016
2 Apr
'16
3:08 p.m.
Hello, I'm trying to use lockfree::queue, and I get a compiler error when calling reserve(). The following code does not compile with VC++ 2015: void reserve(size_type n) { pool.template reserve<true>(n); } And indeed... what does this syntax mean: "pool.template reserve"? You can see it here: http://www.boost.org/doc/libs/1_60_0/boost/lockfree/queue.hpp Regards, Aurélien Regat-Barrel
3160
Age (days ago)
3160
Last active (days ago)
0 comments
1 participants
participants (1)
-
Aurelien Regat-Barrel