Public Types | Public Member Functions | Protected Member Functions

mln::Image< E > Struct Template Reference

Base class for implementation of image classes. More...

#include <image.hh>

Inheritance diagram for mln::Image< E >:
Inheritance graph

List of all members.

Public Types

typedef Image< void > category
typedef E exact_t

Public Member Functions

template<typename J >
Image< E > & operator= (const J &rhs)

Protected Member Functions

 Image ()

Detailed Description

template<typename E>
struct mln::Image< E >

Base class for implementation of image classes.

See also:
mln::doc::Image for a complete documentation of this class contents.

Member Typedef Documentation

template<typename E>
typedef Image<void> mln::Image< E >::category

Reimplemented from mln::Object< E >.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Constructor & Destructor Documentation

template<typename E >
mln::Image< E >::Image (  )  [inline, protected]

Optional interface:

References mln::internal::check_init().


Member Function Documentation

template<typename E >
template<typename J >
Image< E > & mln::Image< E >::operator= ( const J &  rhs  )  [inline]

You are assigning an image of a concrete type to an image with a concept type. It does NOT work.

You forgot a call to exact() on the left operand!