ntg::internal::default_less< ntg::color< ncomps, qbits, color_system > > Struct Template Reference

#include <color.hh>

List of all members.

Public Types

typedef ntg::color< ncomps,
qbits, color_system > 
arg_type

Public Member Functions

bool operator() (const arg_type &l, const arg_type &r) const


Detailed Description

template<unsigned ncomps, unsigned qbits, template< unsigned > class color_system>
struct ntg::internal::default_less< ntg::color< ncomps, qbits, color_system > >

The specialized version of default_less for colors.

Warning:
This class is only provided to build classes that need a less class, it does not correspond to the reality.
Example of a std::set of RGB colors:
    ** std::set<ntg:rgb_8,
    **          ntg::internal::default_less<ntg::rgb8> > s;
    ** s.insert(ntg::rgb_8(10, 16, 64));
    ** 

Definition at line 291 of file color/color.hh.


The documentation for this struct was generated from the following file:
Generated on Tue Feb 20 20:23:57 2007 for Olena by  doxygen 1.5.1