Boost logo

Boost :

Subject: [boost] [move] Documentation example typo.
From: Jurko Gospodnetiæ (jurko.gospodnetic_at_[hidden])
Date: 2013-07-18 07:35:19


   Hi.

   Just reporting a slight typo in boost::move library documentation's
file_descriptor class example code for closing the OS file descriptor.
It says:

> if(!os_descr_) operating_system_close_file(os_descr_);

in its destructor & assignment operator when it should in fact say:

> if(os_descr_) operating_system_close_file(os_descr_);

[notice the removed ! operator]

   Hope this helps.

   Best regards,
     Jurko Gospodnetiæ


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk