Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
pcg_detail::unique_stream< itype > Class Template Reference
Inheritance diagram for pcg_detail::unique_stream< itype >:

Public Types

typedef itype state_type

Public Member Functions

constexpr itype increment () const
constexpr itype stream () const

Static Public Member Functions

static constexpr size_t streams_pow2 ()

Static Public Attributes

static constexpr bool can_specify_stream = false

Protected Member Functions

void set_stream (...)

Static Protected Attributes

static constexpr bool is_mcg = false

Member Function Documentation

◆ set_stream()

template<typename itype>
void pcg_detail::unique_stream< itype >::set_stream ( ...)
inlineprotected
95605 {
95606 abort();
95607 }
Definition duckdb.cpp:95599

◆ increment()

template<typename itype>
itype pcg_detail::unique_stream< itype >::increment ( ) const
inlineconstexpr
95612 {
95613 return itype(reinterpret_cast<uintptr_t>(this) | 1);
95614 }

◆ stream()

template<typename itype>
itype pcg_detail::unique_stream< itype >::stream ( ) const
inlineconstexpr
95617 {
95618 return increment() >> 1;
95619 }

◆ streams_pow2()

template<typename itype>
constexpr size_t pcg_detail::unique_stream< itype >::streams_pow2 ( )
inlinestaticconstexpr
95624 {
95625 return (sizeof(itype) < sizeof(size_t) ? sizeof(itype)
95626 : sizeof(size_t))*8 - 1u;
95627 }

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