Boost logo

Boost :

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


   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, gregod at, cpdaniel at, john at