FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Types | List of all members
Eagle::GrandMacOsGCCDivisionCalculator< A, B > Struct Template Reference

This is an ugly hackaround class to cure some problem of the gcc 4.0 an 4.2 compiler under MacOS, which gets confused with the division operator when used as a template argument in the VVector class. More...

#include <VVector.hpp>

Public Types

enum  { result = A/B }
 

Detailed Description

template<int A, int B>
struct Eagle::GrandMacOsGCCDivisionCalculator< A, B >

This is an ugly hackaround class to cure some problem of the gcc 4.0 an 4.2 compiler under MacOS, which gets confused with the division operator when used as a template argument in the VVector class.

We outsource the division of two integers into its own class and use some template enumeration syntax to circumvent this issue.