Opened 17 years ago

Closed 16 years ago

#393 closed Bugs (Fixed)

boost::blank - missing operators

Reported by: sean_parent Owned by: ebf
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

Main issue:
boost::blank !=, >, etc... not defined (only == and <)

I'd like to replace adobe::empty_t <http://opensource.adobe.com/
structadobe_1_1empty__t.html> with boost::blank, but can't 
because of the lack of these operators.

Minor issues:
boost::blank is a poor name given the use of blank in the regex 
library.
There does not appear to be any formal documentation for boost::
blank - (an index for boost would be very helpful).

Change History (4)

comment:1 by ebf, 17 years ago

Logged In: YES 
user_id=120427

I'll get to this in a few days, or else you can make the
changes yourself and I will 'approve' them. The difference
should really be quite minor.

As for the name, I'm not sure I agree there is confusion
with the use of blank in regex, but my experience with that
library is limited so you may need to explain further. In
any case, I do not like 'empty' as a name for the type,
though in fact it used to be called just that before
acceptance in Boost.

Documentation. I don't have time for this right now though
it would be quite trivial. All instances are 'equal' to each
other, but other than that the type by design does nothing.

comment:2 by sean_parent, 17 years ago

Logged In: YES 
user_id=1227609

No rush - (I haven't contributed to boost directly yet so I'll let you go ahead 
and do it). Feel free to take code or docs from:

<http://opensource.adobe.com/structadobe_1_1empty__t.html>

Sean

comment:3 by ebf, 17 years ago

Logged In: YES 
user_id=120427

Hi,

I added the operators to the file. There is still no
documentation.

Hope this helps,

Eric

comment:4 by ebf, 16 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.