Drake
Drake C++ Documentation
tuple_size< drake::SortedPair< T > > Struct Template Reference

Detailed Description

template<typename T>
struct std::tuple_size< drake::SortedPair< T > >

Support using SortedPair<T> in structured bindings.

E.g.,

SortedPair<Foo> pair(Foo(1), Foo(2)); const auto& [a, b] = pair;

#include <drake/common/sorted_pair.h>


The documentation for this struct was generated from the following file: