$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Generically comparing structs
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-08-27 17:56:47
AMDG
Bill Buklis wrote:
> If one of the members was a C-style string, how can I override the
> comparison to use strcmp or equivalent?
>
It would be easy if you could pass a predicate to less.
Unfortunately Boost.Fusion doesn't provide such an
overload. I've adapted the implementation of less.
See attached.
In Christ,
Steven Watanabe