Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
cybozu Namespace Reference

Namespaces

namespace  bench
 
namespace  test
 

Classes

class  CpuClock
 

Functions

template<class T >
void disable_warning_unused_variable (const T &)
 
template<class T , class S >
T cast (const S *ptr)
 
template<class T , class S >
T cast (S *ptr)
 

Function Documentation

◆ cast() [1/2]

template<class T , class S >
T cybozu::cast ( const S * ptr)

Definition at line 118 of file inttype.hpp.

118{ return static_cast<T>(static_cast<const void*>(ptr)); }
#define T(meth, val, expected)

◆ cast() [2/2]

template<class T , class S >
T cybozu::cast ( S * ptr)

Definition at line 120 of file inttype.hpp.

120{ return static_cast<T>(static_cast<void*>(ptr)); }

◆ disable_warning_unused_variable()

template<class T >
void cybozu::disable_warning_unused_variable ( const T & )

Definition at line 116 of file inttype.hpp.

116{ }