Opened 15 years ago

Closed 13 years ago

#1548 closed Bugs (fixed)

[variant][docs]typo: formal arg, operand, should be v in times_two arglist

Reported by: Larry Evans <cppljevans@…> Owned by: ebf
Milestone: Boost 1.36.0 Component: variant
Version: Boost 1.34.1 Severity: Cosmetic
Keywords: Cc:

Description

At:

http://www.boost.org/doc/html/variant/tutorial.html#variant.tutorial.recursive

there's:

void times_two( boost::variant< int, std::string > & operand )

however, operand appears nowhere in body. It should be v, AFAICT.

Change History (2)

comment:1 by Marshall Clow, 15 years ago

Component: Nonevariant
Owner: set to ebf

comment:2 by Steven Watanabe, 13 years ago

Resolution: fixed
Status: newclosed

(In [53187]) Replace v with operand in the tutorial. Fixes #1548

Note: See TracTickets for help on using tickets.