|
Boost : |
Subject: Re: [boost] weirdness in documentation of boost::chrono?
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-06-01 03:49:10
Le 01/06/13 09:33, Anthony Foiani a écrit :
> Greetings --
>
> The online reference for boost::chrono seems to have an odd error in
> it. If one looks at:
>
> http://www.boost.org/doc/libs/1_53_0/doc/html/chrono/reference.html#chrono.reference.cpp0x.duration_hpp.duration
> (or: http://preview.tinyurl.com/lcl8j3c )
>
> There is an "operator*==" (note double '=').
>
> The actual live link is to "operator*=", and the link works.
>
> I took a quick look, and this glitch does not seem to be present in
> the HTML documentation included in the 1_53_0 tarball.
>
> Am I just imagining things? Is my browser being stunningly clever in
> a way I don't understand?
>
>
Hi,
this is just a typo.
svn diff
Index: chrono.qbk
===================================================================
--- chrono.qbk (revision 84414)
+++ chrono.qbk (working copy)
@@ -2864,7 +2864,7 @@
duration& __duration__op_plus_eq(const duration& d);
duration& __duration__op_minus_eq(const duration& d);
- duration& __duration__op_mult_eq=(const rep& rhs);
+ duration& __duration__op_mult_eq(const rep& rhs);
duration& __duration__op_div_eq(const rep& rhs);
duration& __duration__op_mod_eq(const rep& rhs);
duration& __duration__op_mod_eq2(const duration& rhs);
iMac-de-Vicente-Botet-Escriba:doc viboes$ svn ci -m "Chrono: fix typo in
doc operator*==."
Sending doc/chrono.qbk
Transmitting file data .
Committed revision 84591.
Thanks for catching it,
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk