While building Boost 1.55
for vs2013
(vc120
) my serialization library was skipped due to following error:
../transform_width.hpp(151) : error C3861: 'min': indentifier not found
I solved this by including the algorithm header in transform_width.hpp
:
#include <algorithm>
I figured that was the issue because std::min is used at line 151:
unsigned int i = std::min(missing_bits, m_remaining_bits);
Is this a known issue? Is there another solution to this issue (one that doesn't require changes in boost)?