• Matthias Vallentin's avatar
    Make optional<T> totally ordered · 08f76548
    Matthias Vallentin authored
    This change adds the necessary operator overloads to make optional<T>
    totally ordered, per the current draft of the standard. As reference
    serves the implementation of libstdc++ version 5.3. As CAF doesn't have
    nullopt_t, we use none_t.
    08f76548
optional.cpp 2.7 KB