Function index

Synopsis

#include "breeze/endianness/endian_codec.hpp"

template <typename T, typename Byte>
static std::ptrdiff_t index(std::ptrdiff_t n)

Description

No description yet.

Source

Lines 147-152 in breeze/endianness/endian_codec.hpp.

template< typename T, typename Byte >
static std::ptrdiff_t
                    index( std::ptrdiff_t n )
{
    return endian_codec_private::required_count< T, Byte >::value - 1 - n ;
}