21 StrongNumber(T&& value) noexcept(std::is_nothrow_move_constructible<T>::value)
22 : _value(std::move(value))
26 operator T&() noexcept {
return _value; }
28 operator const T&()
const noexcept {
return _value; }
33 swap(
static_cast<T&
>(a),
static_cast<T&
>(b));
Definition: StrongNumber.h:9
StrongNumber(T &&value) noexcept(std::is_nothrow_move_constructible< T >::value)
Definition: StrongNumber.h:21
friend void swap(StrongNumber &a, StrongNumber &b) noexcept
Definition: StrongNumber.h:30
Definition: A2CTrainer.h:10
StrongNumber(const T &value)
Definition: StrongNumber.h:16
StrongNumber()
Definition: StrongNumber.h:11