Opened 20 years ago

Closed 20 years ago

#130 closed Bugs (Fixed)

date documentation error

Reported by: frankbuss Owned by: nobody
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

I have copied-and-pasted the code from 
http://www.boost.org/libs/date_time/doc/exp-
days_alive.html and it doesn't work, because the 
line "else if (days_alive < " should be "else if (days_alive 
< one_day) {" or something like this.

Another ideas: Perhaps the first line should be "#define 
DATE_TIME_INLINE", because then I don't need to 
build boost as a library or it should be documented 
(perhaps it is already documented, but I didn't found it). 
And the ";" at the end of the file is not necessary.

Change History (1)

comment:1 by az_sw_dude, 20 years ago

Status: assignedclosed
Logged In: YES 
user_id=579686

The documentation has been updated in CVS so that it is 
now correct.

In addition, the DATE_TIME_INLINE macro has been 
removed to simplify compilation.
Note: See TracTickets for help on using tickets.