VisionCpp  0.0.1
Static Public Member Functions | List of all members
visioncpp::internal::GetIdBasedScope< Conds, T > Struct Template Reference

brief This is used to get the correct Id based on the condition. More...

#include <memory_access.hpp>

Collaboration diagram for visioncpp::internal::GetIdBasedScope< Conds, T >:

Static Public Member Functions

static T get (T l, T g)
 function get More...
 

Detailed Description

template<bool Conds, typename T>
struct visioncpp::internal::GetIdBasedScope< Conds, T >

brief This is used to get the correct Id based on the condition.

True means local template parameters

Template Parameters
Condsdetermines whether or not the local variable should be used
Tdetermines the type of the dimension index

Definition at line 94 of file memory_access.hpp.

Member Function Documentation

◆ get()

template<bool Conds, typename T >
static T visioncpp::internal::GetIdBasedScope< Conds, T >::get ( l,
g 
)
inlinestatic

function get

returns the local range check:

Parameters
lis the local dimension size
gis the global dimension size
Returns
T

Definition at line 100 of file memory_access.hpp.

Referenced by visioncpp::internal::id_val().

Here is the caller graph for this function:

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