Changeset b4b01cb in mainline


Ignore:
Timestamp:
2018-07-05T21:41:17Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4f202b20
Parents:
83aea53
git-author:
Jaroslav Jindrak <dzejrou@…> (2017-10-25 17:04:09)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:17)
Message:

cpp: removed noexcept requirement because the compiler cannot find declval atm (though it suggests a function of the exact same signature…)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/impl/array.hpp

    r83aea53 rb4b01cb  
    3131
    3232#include <iterator>
     33#include <utility>
    3334
    3435namespace std
     
    6667        }
    6768
    68         void swap(array& other) noexcept(noexcept(swap(declval<T&>(), declval<T&>())))
     69        void swap(array& other)
     70                // TODO: Does not find declval atm :/
     71                /* noexcept(noexcept(swap(declval<T&>(), declval<T&>()))) */
    6972        {
    7073            swap_ranges(begin(), end(), other.begin());
Note: See TracChangeset for help on using the changeset viewer.