Boost logo

Boost :

From: Jeremy Maitin-Shepard (jbms_at_[hidden])
Date: 2004-04-24 16:13:25


Joaquin M Lopez Munoz <joaquin_at_[hidden]> writes:

> [snip: composite key system]

> composite_key</* as before*> ck;
> ck(record(1,2,3))<=make_tuple(1,2); // yields true

This is not lexicographical order. According to lexicographical
ordering:

(1, 2) < (1, 2, 3)

-- 
Jeremy Maitin-Shepard

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