Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
Class extending the pair class from the standard library. Original reason is to allow printing of the pair with overloaded operator <<. More...
#include <pair.hpp>
Public Member Functions | |
pair (const pair &other)=default | |
pair (pair &&other)=default | |
pair & | operator= (pair &&other)=default |
pair & | operator= (const pair &other)=default |
Class extending the pair class from the standard library. Original reason is to allow printing of the pair with overloaded operator <<.
The class mimics the behavior of the pair from the standatd library.
T | the type of the first value inside the pair |
R | the type of the second value inside the pair |
Default constructor needed by g++ since it is not inherited
Copy constructor needed by g++ since it is not inherited
|
default |
Move operator = needed by g++ since it is not inherited
Copy operator = needed by g++ since it is not inherited