MSVC doesnt properly support the noexcept operator

This commit is contained in:
Dennis Luxen 2015-04-02 15:11:23 +02:00
parent c2deedac8b
commit a4f31001e8

View File

@ -73,9 +73,7 @@ template <typename Container> void sort_unique_resize(Container &vector) noexcep
// }
template <typename ForwardIterator, typename Function>
Function for_each_pair(ForwardIterator begin,
ForwardIterator end,
Function function) noexcept(noexcept(function))
Function for_each_pair(ForwardIterator begin, ForwardIterator end, Function function)
{
if (begin == end)
{