Parma_Polyhedra_Library::maybe_assign_struct< To, From > Struct Template Reference

#include <distances.inlines.hh>

List of all members.

Static Public Member Functions

static Result function (const To *&top, To &tmp, const From &from, Rounding_Dir dir)

Detailed Description

template<typename To, typename From>
struct Parma_Polyhedra_Library::maybe_assign_struct< To, From >

Definition at line 34 of file distances.inlines.hh.


Member Function Documentation

template<typename To , typename From >
static Result Parma_Polyhedra_Library::maybe_assign_struct< To, From >::function ( const To *&  top,
To &  tmp,
const From &  from,
Rounding_Dir  dir 
) [inline, static]

Definition at line 36 of file distances.inlines.hh.

References Parma_Polyhedra_Library::assign_r().

Referenced by Parma_Polyhedra_Library::maybe_assign().

00036                                                                         {
00037     // When `To' and `From' are different types, we make the conversion
00038     // and use `tmp'.
00039     top = &tmp;
00040     return assign_r(tmp, from, dir);
00041   }


The documentation for this struct was generated from the following file:
Generated on Sun Feb 27 16:20:22 2011 for PPL by  doxygen 1.6.3