Closed jmkinzer closed 8 years ago
Have latest update VS2015... complains here: Error C3406 'typename': cannot be used in an elaborated type specifier Utility C:\XLE\Utility\Streams\Stream.cpp 237
This: template<typename OutChar, typename InChar, typename typename std::enable_if<!CompatibleCharTypes<OutChar, InChar>::compatible>::type* = nullptr>
template<typename OutChar, typename InChar, typename typename std::enable_if<!CompatibleCharTypes<OutChar, InChar>::compatible>::type* = nullptr>
Should be: template<typename OutChar, typename InChar, typename std::enable_if<!CompatibleCharTypes<OutChar, InChar>::compatible>::type* = nullptr>
template<typename OutChar, typename InChar, typename std::enable_if<!CompatibleCharTypes<OutChar, InChar>::compatible>::type* = nullptr>
I've implemented the fix as suggested. I'm using an older version of VS2015 -- but I'll update soon to check for any remaining errors.
Have latest update VS2015... complains here: Error C3406 'typename': cannot be used in an elaborated type specifier Utility C:\XLE\Utility\Streams\Stream.cpp 237
This:
template<typename OutChar, typename InChar, typename typename std::enable_if<!CompatibleCharTypes<OutChar, InChar>::compatible>::type* = nullptr>
Should be:
template<typename OutChar, typename InChar, typename std::enable_if<!CompatibleCharTypes<OutChar, InChar>::compatible>::type* = nullptr>