winstl/util/struct_initialisers.hpp File Reference


Detailed Description

[C++ only] Definition of the winstl::zero_struct and winstl::init_struct structure initialiser functions (Utility Library).

#include <winstl/winstl.h>

Go to the source code of this file.

Namespaces

namespace  winstl

Functions

template<typename T>
void zero_struct (T &t)
 Initialises all elements of a structure to zero.
template<typename T>
void init_struct (T &t)
 Initialises all members of a structure to zero, and sets the size member to the size of the structure.


Generated on Thu Jun 10 08:58:16 2010 for STLSoft by  doxygen 1.5.6