mirror of
https://github.com/trafi/maybe-result-cpp
synced 2024-11-26 04:26:06 +01:00
Remove unused helper.
This commit is contained in:
parent
84c918bdd7
commit
5d4320f76a
@ -12,8 +12,8 @@
|
|||||||
|
|
||||||
#include "result.fwd.hpp"
|
#include "result.fwd.hpp"
|
||||||
|
|
||||||
#include <optional.hpp>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <optional.hpp>
|
||||||
|
|
||||||
namespace maybe {
|
namespace maybe {
|
||||||
namespace internal {
|
namespace internal {
|
||||||
@ -21,12 +21,6 @@ namespace maybe {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T>
|
|
||||||
inline constexpr typename std::remove_reference<T>::type&& mr_constexpr_move(T&& t) noexcept
|
|
||||||
{
|
|
||||||
return static_cast<typename std::remove_reference<T>::type&&>(t);
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename T, typename E>
|
template <typename T, typename E>
|
||||||
class result final {
|
class result final {
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user