shards Version of the Day
shards::Copy< n, i > Struct Template Reference

Copy into an array. More...

#include <Shards_SimpleArrayOps.hpp>

List of all members.

Public Types

enum  {
  N = n,
  I = i

Public Member Functions

template<typename T >
 Copy (T *const dst, const T *const src)
 dst[0..N-1] = src[0..N-1]
template<typename T >
 Copy (T *const dst, const T src)
 dst[0..N-1] = src

Detailed Description

template<unsigned n, unsigned i = 0>
struct shards::Copy< n, i >

Copy into an array.

Template Parameters:
nNumber of members to copy.

Definition at line 65 of file Shards_SimpleArrayOps.hpp.

The documentation for this struct was generated from the following file:
 All Classes Functions Variables Typedefs Enumerator