Project
Loading...
Searching...
No Matches
gNeric::funny_initializer Struct Reference

An initializer for simple types The initializer makes use of truncation for non-float types, and over- and underflow to produce different values in the member of the individual stages in the container. More...

#include <runtime_container.h>

Public Member Functions

template<typename T >
void operator() (T &v)
 

Detailed Description

An initializer for simple types The initializer makes use of truncation for non-float types, and over- and underflow to produce different values in the member of the individual stages in the container.

  • float types keep the fraction
  • integral types truncate the fraction
  • unsigned types undergo an underflow and produce big numbers
  • 8 bit char produces the '*' character

Mainly for testing and illustration purposes.

Definition at line 108 of file runtime_container.h.

Member Function Documentation

◆ operator()()

template<typename T >
void gNeric::funny_initializer::operator() ( T &  v)
inline

Definition at line 111 of file runtime_container.h.


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