Opened 11 years ago

#6358 new Bugs

Documentation

Reported by: Robert Ramey Owned by: Fernando Cacciola
Milestone: To Be Determined Component: numeric
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

I want to use boost numeric conversion.

I NEED to use boost numeric conversion.

But I can't really figure out how to use it.

a) the interface with policies which contain function options which contain... is just too hard to follow. I think this is a design problem.

b) the documentation of all this isn't complete - and it reflects the interface. trying to figure it out is like pulling teeth.

It "looks like" it depends upon numeric_limits for minimums, maximums, etc. I would hope this means that if I create my own numeric type and specialize numeric_limits for it, the convert<...> will "just work" and I'll get an overflow/under flow exception when I need it. But trying to verify that this works like this by looking at the documentation is like pulling teeth. I believe the library works and/or can be made to work for what I want to do, but the documentation is presenting a real obstacle so I have to look at the code itself - which I shouldn't have to do.

Robert Ramey

Change History (0)

Note: See TracTickets for help on using tickets.