Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2002-10-23 03:35:22


Alexander Nasonov wrote:
> struct less : dynamic_any_function_vv<dynmaic_return>
> {
> template<typename T>
> T operator()(const T & v1, const T & v2)
> {
> using std::less;
> return less(v1, v2);
> }
> };

Sorry, copy/paste typo.

struct less : dynamic_any_function_vv<bool>
{
  template<typename T>
  bool operator()(const T & v1, const T & v2)
  {
    using std::less;
    return less(v1, v2);
  }
};

Best regards,
Alexander Nasonov
mailbox: alnsn
server: mail.ru


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk