uTL
micro Template library
id.h File Reference

A container for device IDs. More...

#include <utl/core/impl.h>
#include <utl/container/array.h>
#include <algorithm>

Go to the source code of this file.

Classes

struct  utl::id_traits< _Tp, _Nm >
 id container traits helper More...
 
struct  utl::id_traits< _Tp, 0 >
 
struct  utl::id_traits< _Tp, 0 >::type
 
struct  utl::id_t< _Tp, _Nm >
 A standard container for storing IDs as a fixed size sequence of bytes. This type is based on etl::array Meets the requirements of: container, reversible container, sequence. Sets support random access iterators. More...
 

Namespaces

 utl
 STL's core language concepts.
 

Functions

device ID comparisons.
template<typename _Tp , size_t _Nm>
bool utl::operator== (const id_t< _Tp, _Nm > &lhs, const id_t< _Tp, _Nm > &rhs)
 
template<typename _Tp , size_t _Nm>
bool utl::operator!= (const id_t< _Tp, _Nm > &lhs, const id_t< _Tp, _Nm > &rhs)
 
template<typename _Tp , size_t _Nm>
bool utl::operator< (const id_t< _Tp, _Nm > &lhs, const id_t< _Tp, _Nm > &rhs)
 
template<typename _Tp , size_t _Nm>
bool utl::operator> (const id_t< _Tp, _Nm > &lhs, const id_t< _Tp, _Nm > &rhs)
 
template<typename _Tp , size_t _Nm>
bool utl::operator<= (const id_t< _Tp, _Nm > &lhs, const id_t< _Tp, _Nm > &rhs)
 
template<typename _Tp , size_t _Nm>
bool utl::operator>= (const id_t< _Tp, _Nm > &lhs, const id_t< _Tp, _Nm > &rhs)
 

Detailed Description

A container for device IDs.

Copyright (C) 2018 Christos Choutouridis

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file id.h.