$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Review Request: Creasing (Sequence Properties)
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-01-25 11:47:38
AMDG
Stewart, Robert wrote:
> What about types that only support operator <? They are pretty common and operator >, operator >=, and operator <= can be implemented in terms of operator <, right? (Obviously, detecting whether the other operators are defined and using them is better. Using a provided operator <= likely would be more efficient than synthesizing it from operator <. The others are less likely to differ in efficiency.)
>
Why is <= likely to be less efficient when implemented
in terms of operator<?
a <= b == !(b < a)
In Christ,
Steven Watanabe