[move] Documentation example typo.
18 Jul
2013
18 Jul
'13
11:35 a.m.
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ć
4134
Age (days ago)
4151
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ion Gaztañaga
-
Jurko Gospodnetić