TBCI Numerical high perf. C++ Library  2.8.0
Classes | Macros
tbci_traits.h File Reference
#include "tbci/basics.h"
Include dependency graph for tbci_traits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 
class  NOINST< T >
 

Macros

#define SPEC_TBCI_TRAITS_ALWAYS_COPY(TYPE)
 
#define SPEC_TBCI_TRAITS_LOOP_COPY(TYPE)
 

Detailed Description

some info on the types that we can use to speed up things

Author
Kurt Garloff kurt@.nosp@m.garl.nosp@m.off.d.nosp@m.e
Date
2005-04-20
Version
Id:
tbci_traits.h,v 1.1.2.9 2022/11/03 17:28:11 garloff Exp

License: GNU LGPL

Todo:
Use more ...

Definition in file tbci_traits.h.

Macro Definition Documentation

#define SPEC_TBCI_TRAITS_ALWAYS_COPY (   TYPE)
Value:
template <> \
class tbci_traits< TYPE > NOINST \
{ \
public: \
typedef TYPE refval_type; \
typedef TYPE /*const*/ const_refval_type; \
typedef TYPE loop_refval_type; \
typedef TYPE /*const*/ loop_const_refval_type; \
}

These trivial data types should always be passed by value

Definition at line 56 of file tbci_traits.h.

#define SPEC_TBCI_TRAITS_LOOP_COPY (   TYPE)
Value:
template <> \
class tbci_traits< TYPE > NOINST \
{ \
public: \
typedef TYPE& refval_type; \
typedef const TYPE& const_refval_type; \
typedef TYPE loop_refval_type; \
typedef TYPE /*const*/ loop_const_refval_type; \
}

For these types, a copy (by value) pays off if accessed multiple times (e.g. in a loop)

Definition at line 71 of file tbci_traits.h.