stl::set
![](https://www.clearchain.com/blog/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png)
Working with Mark’s dnl code, we came across an interesting issue. Mark had used the stl::set class for some of his code and whilst it compiled fine under Visual Studio, it failed to compile under gcc/g++. With the error: dnlCommon/Logger.cpp: In member function ‘void dnlCommon::Logger::setMask(std::ostream&, std::bitset<5ul>)’: dnlCommon/Logger.cpp:64: error: invalid initialization of reference of type ‘dnlCommon::Logger::LoggerPair&’ [..more..]