Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Classes

SgStatisticsVlt.h File Reference

Specialized versions of some classes in SgStatistics.h for volatile member variables. More...

#include <cmath>
#include <iostream>
#include <limits>
#include <map>
#include <sstream>
#include <string>
#include <vector>
#include "SgException.h"
#include "SgWrite.h"

Go to the source code of this file.

Classes

class  SgStatisticsVltBase< VALUE, COUNT >
 Specialized version of SgStatisticsBase for volatile member variables. More...

Detailed Description

Specialized versions of some classes in SgStatistics.h for volatile member variables.

Previous versions of Fuego used instantiations like SgStatisticsBase<volatile double,volatile double>, but this has the effect that local variables in member functions and types in explicit conversions also use the volatile qualifier, and it caused a warning with Visual C++ (C4197: top-level volatile in cast is ignored). Unfortunately, the only way to avoid this is to create exact copies of the classes in SgStatistics with the only difference that the member variables are declared volatile.

Definition in file SgStatisticsVlt.h.


Sun Mar 13 2011 Doxygen 1.7.1