CMS 3D CMS Logo

Public Types | Static Public Member Functions

funct::Difference< A, B > Struct Template Reference

#include <Difference.h>

List of all members.

Public Types

typedef Sum< A, typename Minus
< B >::type >::type 
type

Static Public Member Functions

static type combine (const A &a, const B &b)

Detailed Description

template<typename A, typename B>
struct funct::Difference< A, B >

Definition at line 9 of file Difference.h.


Member Typedef Documentation

template<typename A , typename B >
typedef Sum<A, typename Minus<B>::type>::type funct::Difference< A, B >::type

Definition at line 10 of file Difference.h.


Member Function Documentation

template<typename A , typename B >
static type funct::Difference< A, B >::combine ( const A a,
const B b 
) [inline, static]

Definition at line 11 of file Difference.h.

References b.

Referenced by funct::operator-().

{ return a + (-b); }