FreePOOMA  2.4.1
Static Public Member Functions
FillLocStorage< dstIndex, toGo > Struct Template Reference

Template metaprogram for filling a loc from a different domain object. More...

#include <Loc.h>

List of all members.

Static Public Member Functions

template<int Dim, class T >
static void fill (Loc< Dim > &loc, const T &a)

Detailed Description

template<int dstIndex, int toGo>
struct FillLocStorage< dstIndex, toGo >

Template metaprogram for filling a loc from a different domain object.

Starts filling loc at dstIndex and copies from T::dimensions-1-toGo to T::dimensions-1, i.e. all of T, if toGo is T::dimensions-1.


Member Function Documentation

template<int dstIndex, int toGo>
template<int Dim, class T >
static void FillLocStorage< dstIndex, toGo >::fill ( Loc< Dim > &  loc,
const T &  a 
) [inline, static]

References CTAssert.


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