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 33 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 35 of file distances.inlines.hh.

References Parma_Polyhedra_Library::assign_r().

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


The documentation for this struct was generated from the following file:

Generated on Sat Oct 11 10:41:04 2008 for PPL by  doxygen 1.5.6