Commit Graph

135 Commits

Author SHA1 Message Date
Andrzej Krzemienski
593710e961 doc: added relnotes for 1.59 2015-07-08 23:54:20 +02:00
Andrzej Krzemienski
9b1894a2f3 Doc: no headers in tables in semantics 2015-05-27 17:06:31 +02:00
Andrzej Krzemienski
8ca74951b0 Added emplace(void) for older compilers 2015-05-15 18:10:19 +02:00
Andrzej Krzemienski
9d3f2fa825 Doc: spelling fix from jsjohns 2015-03-13 22:53:47 +01:00
Andrzej Krzemienski
6e40825098 described headers in docs; added move in operator>> 2015-03-09 21:56:25 +01:00
Andrzej Krzemienski
0a8a798c3a Fixed Trac #10839 2015-03-09 11:50:10 +01:00
Andrzej Krzemienski
59266a2630 More restrictive assignment from optional<U> 2015-03-06 19:20:45 +01:00
Andrzej Krzemienski
f229257f30 You can now manually disable move semantics.
This may be useful in MSVC to work around a bug described in Trac #10399
2015-01-21 15:03:17 +01:00
Andrzej Krzemienski
726b227aa9 operator<< improvements 2015-01-21 00:10:51 +01:00
Andrzej Krzemienski
35eaec5a52 Doc: added release notes section 2015-01-12 17:37:15 +01:00
Andrzej Krzemienski
8bc63106d3 Relocated images to QBK section 2014-12-06 21:08:58 +01:00
Andrzej Krzemienski
b5ae4bf78d Added performance notes to documentation 2014-12-06 19:27:53 +01:00
Andrzej Krzemienski
53e53171c4 none_t is no loner constructible from literal 0
This caused problems because:
optional<T> o = 0;
always worked. But often it would create an uninitialized optional.
2014-11-22 01:18:25 +01:00
Olaf van der Spek
661cbe15af Update 13_relational_operators.qbk
Missing word
2014-11-20 23:55:45 +01:00
Siddhant Saraf
bbabb6b990 typo 2014-11-12 08:42:40 +05:30
Andrzej Krzemienski
a913650322 Doc typeo fixes + 1 test fix 2014-09-12 11:57:44 +02:00
Andrzej Krzemienski
fea4882f24 rvalue ref overloads do not return by value 2014-07-10 13:49:36 +02:00
Andrzej Krzemienski
18b8c4bb18 Catching up with N4078 2014-06-28 00:31:36 +02:00
Andrzej Krzemienski
c7200c4aed Minor docs fixes (operator=) 2014-06-20 22:30:12 +02:00
Andrzej Krzemienski
599c75a6d3 various documentation fixes 2014-06-20 18:22:52 +02:00
Andrzej Krzemienski
4cbb67e505 Cleaner handling of explicit U to T conversions 2014-06-20 11:38:57 +02:00
Andrzej Krzemienski
d70114b3dc Added func value_or_eval() 2014-06-18 16:42:48 +02:00
Andrzej Krzemienski
9edf2ddac1 docs: fixed requirements in value_or() 2014-06-16 14:23:34 +02:00
Andrzej Krzemienski
31c9119266 value_or() requires that U is convertible to T
Due to Vladimir Batov.
2014-06-14 22:49:37 +02:00
Andrzej Krzemienski
8fc2901fad explicit operator bool becomes noexcept 2014-06-14 00:46:24 +02:00
Andrzej Krzemienski
07bdbc3743 docs: optional<T> == nont_t requirements 2014-06-08 20:51:55 +02:00
Andrzej Krzemienski
befd3970d7 docs -- expanded tutprial section 2014-06-08 16:23:35 +02:00
Andrzej Krzemienski
d25b0cfd59 improved example in tutorial 2014-06-06 23:52:29 +02:00
Andrzej Krzemienski
fdc98d17ca Added limited emplace() for older compilers 2014-06-06 23:24:43 +02:00
Andrzej Krzemienski
dec71d338d Cleaned up docs 2014-06-06 00:53:15 +02:00
Andrzej Krzemienski
402f15e996 described relops in docs 2014-06-04 23:04:02 +02:00
Andrzej Krzemienski
3dd614fd91 Reorganized docs. Minor code fix wrt opt refs 2014-06-04 18:13:06 +02:00
Andrzej Krzemienski
2e583aaf30 Fixed code, updated docs, added emplace() 2014-06-03 17:36:18 +02:00
Andrzej Krzemienski
3984c9f9a1 Added function value_or() 2014-05-23 16:38:42 +02:00
Andrzej Krzemienski
75271b73a8 Member fun value() that throws on uninitialized 2014-05-22 23:32:49 +02:00
Andrzej Krzemienski
1c9775a9d9 docs: described optional reference binding issues 2014-05-08 21:50:41 +02:00
Andrzej Krzemienski
f94846ccc5 Improved documentation. Added some noexcept. 2014-05-07 17:07:12 +02:00
Andrzej Krzemienski
6a790e0c97 Added a test that tests the compiler if references are bound correctly. Also added the second copyright notice. 2014-05-05 19:08:11 +02:00
Andrzej Krzemienski
c51f3e810b The (in)equality comparison with boost::none does not require that T be EqualityComparable 2014-04-29 22:59:06 +02:00
Andrzej Krzemienski
d59f47156f Merge branch 'feature/move-semantics' into develop
Conflicts:
	doc/html/index.html
	include/boost/optional/optional.hpp
	test/Jamfile.v2
2014-04-29 01:24:10 +02:00
Andrzej Krzemienski
c9f1422560 Updated documentation; fixed optional::swap 2014-04-29 01:06:14 +02:00
Marcel Raad
c7cf80e5df Use BOOST_EXPLICIT_OPERATOR_BOOL for optional
I often have the problem that when I change a std::wstring to boost::optional<std::wstring> and the variable is used as a parameter with Boost.Format, the result silently changes from the string contents to "1".

This change prevents implicit conversion to bool if the compiler supports explicit conversion operators.
2014-04-26 15:26:37 +02:00
Andrzej Krzemienski
b4738ac07e Updated HTML documentation format using the super-project css and docbook-xsl-1.78.1 2014-04-12 20:54:37 +02:00
Andrzej Krzemienski
09f2c0f60e Merge branch 'use-super-project-css' of https://github.com/danieljames/optional into develop 2014-04-12 17:22:33 +02:00
Daniel James
a3b478b620 Use super-project's css file. 2014-04-12 09:10:24 +01:00
Andrzej Krzemienski
50d09367ca Rebuilt the HTML documentation using a newer xsltproc 2014-04-11 23:36:24 +02:00
Steven Watanabe
cb09282472 Update optional documentation.
[SVN r82931]
2013-02-16 19:42:42 +00:00
Steven Watanabe
e40c2654d9 Replace deprecated function reset in examples. Fixes #765.
[SVN r82912]
2013-02-15 18:50:29 +00:00
Steven Watanabe
ab0ffa1c01 Correct definition of operator unspecified-bool-type. Make reference for is_initialized point to this operator. Fixes #6364.
[SVN r82911]
2013-02-15 18:44:59 +00:00
Steven Watanabe
a5c2ab2125 Some doc typos. Fixes #7602.
[SVN r82910]
2013-02-15 18:28:38 +00:00
Steven Watanabe
181e56a70a Remove extra :'s. Fixes #7973.
[SVN r82909]
2013-02-15 18:21:04 +00:00
Steven Watanabe
f921762bf6 Add link to header from synopsis. Fixes #4049. Add links to in place factory assignment operators.
[SVN r71092]
2011-04-07 21:05:15 +00:00
Steven Watanabe
f9c46f9a86 Fix some more typos and grammatical errors.
[SVN r71089]
2011-04-07 19:56:55 +00:00
Steven Watanabe
c1d2381a9b Copy-editing optional documentation. Fixes #5382 and a few other issues I noticed while I was at it.
[SVN r71052]
2011-04-06 21:56:23 +00:00
Steven Watanabe
960631e201 Add assignment operators taking an InPlaceFactory to the Detailed Semantics section. Fixes #5378.
[SVN r71048]
2011-04-06 20:54:18 +00:00
Daniel James
57c07c7a57 Fix doc build for 2 libraries which use own css.
I changed the default to use doc/src/boostbook.css. So add an explicit
location to libraries which use their own stylesheet.

[SVN r64170]
2010-07-19 20:17:58 +00:00
Daniel James
bccd75c72f Update various libraries' documentation build.
Mostly to use the images and css files under doc/src instead of
doc/html, usually be deleting the settings in order to use the defaults.
Also add 'boost.root' to some builds in order to fix links which rely on
it.

[SVN r63146]
2010-06-20 18:00:48 +00:00
Daniel James
a63dbe0f14 Rebuild optional docs.
[SVN r57812]
2009-11-20 10:26:23 +00:00
Troy D. Straszheim
066dd6f345 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
2772bfc08d optional docs in cmakeland
[SVN r52251]
2009-04-08 12:09:58 +00:00
John Maddock
361943e033 Add PDF generation options to fix external links to point to the web site.
Added a few more Boostbook based libs that were missed first time around.
Fixed PDF naming issues.

[SVN r51284]
2009-02-17 10:05:58 +00:00
John Maddock
20c9fc8ebe Fix the optional and numeric/conversion docs so they generate valid Docbook XML that can be transformed into PDF's.
Regenerated HTML versions of the docs.

[SVN r51218]
2009-02-12 14:01:48 +00:00
Daniel James
fd38be1636 Fix an incorrectly escaped right arrow.
[SVN r50839]
2009-01-28 09:14:56 +00:00
Daniel James
951b49f992 Merge in documentation fixes. Apart from the change to optional's documenation
Jamfile, which I included by mistake.

Fixes #1659, #1661, #1684, #1685, 1687, #1690, #1801

I wrote about this at:

http://lists.boost.org/Archives/boost/2008/04/136405.php

Merged revisions 44585-44806 via svnmerge from 
https://svn.boost.org/svn/boost/branches/doc

........
  r44585 | danieljames | 2008-04-19 16:25:27 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix broken link to vacpp in bjam docs. Refs #1512
........
  r44586 | danieljames | 2008-04-19 16:27:36 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix broken link to bcpp in bjam docs. Refs #1513
........
  r44587 | danieljames | 2008-04-19 16:33:58 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  DateTime documentation - Fix a link to the serialization library. Refs #1659
........
  r44588 | danieljames | 2008-04-19 16:35:36 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix some links in interprocess & intrusive. Refs #1661
........
  r44589 | danieljames | 2008-04-19 16:37:39 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix some links in the python docs. Refs #1684.
........
  r44590 | danieljames | 2008-04-19 16:38:29 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Work around a quickbook bug which is affecting the python docs. Refs #1684.
........
  r44591 | danieljames | 2008-04-19 16:39:34 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix a broken link in the numeric conversion docs. Refs #1685
........
  r44592 | danieljames | 2008-04-19 16:40:45 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix some links in the optional docs. Refs #1687
........
  r44593 | danieljames | 2008-04-19 16:42:09 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix link to the hash documentation from bimap. Refs #1690
........
  r44599 | danieljames | 2008-04-19 18:07:33 +0100 (Sat, 19 Apr 2008) | 2 lines
  
  Fix a typo in the format library. Refs #1801
........
  r44600 | danieljames | 2008-04-19 19:20:59 +0100 (Sat, 19 Apr 2008) | 1 line
  
  Initialise svnmerge.
........
  r44641 | danieljames | 2008-04-20 18:59:47 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix the lincense url in shared container iterator documentation.
........
  r44642 | danieljames | 2008-04-20 19:00:00 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix image link in the mpi documentation.
........
  r44643 | danieljames | 2008-04-20 19:00:11 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix a typo in the spirit docs.
........
  r44644 | danieljames | 2008-04-20 19:00:23 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Escape the slash so that quickbook doesn't think it the start of an italic section, and mess up the link. Refs #1844
........
  r44647 | danieljames | 2008-04-20 19:39:47 +0100 (Sun, 20 Apr 2008) | 2 lines
  
  Fix another typo in spirit docs.
........


[SVN r44807]
2008-04-27 07:39:49 +00:00
Matias Capeletto
3e33d4a200 optional docs fixes
[SVN r43247]
2008-02-14 17:43:52 +00:00
Fernando Cacciola
06ba35cd42 Fixed error reported by Edward Diener
[SVN r40706]
2007-11-02 23:06:42 +00:00
Fernando Cacciola
a690c8e7a2 Merged changests from RC_1_34_0 - base rev 33417
[SVN r40704]
2007-11-02 22:55:49 +00:00
Matias Capeletto
07ce2fc860 new quickbook docs for optional
[SVN r37809]
2007-05-29 06:40:25 +00:00
Dave Abrahams
1b7002f663 misused "precedence" changed to "precedent"
[SVN r35831]
2006-11-04 02:13:53 +00:00
Fernando Cacciola
734e5b5283 Some additional functions added to optional (being new there won't be regressions)
[SVN r34411]
2006-06-26 18:01:38 +00:00
Fernando Cacciola
b831e5f88d Typos fixed
[SVN r29952]
2005-07-08 23:22:29 +00:00
Fernando Cacciola
88d002a7be Doc fixes
[SVN r29158]
2005-05-23 14:04:03 +00:00
Fernando Cacciola
9a0013d668 Optional's Assignment fixed
[SVN r28412]
2005-04-22 13:28:34 +00:00
Fredrik Blomqvist
361d945b5c fixed couple of html-typos
[SVN r25985]
2004-10-30 20:34:18 +00:00
Fernando Cacciola
d61baf2a94 bad links fixed
added myself to people


[SVN r25610]
2004-10-07 16:01:24 +00:00
Aleksey Gurtovoy
1412c04b24 c++boost.gif -> boost.png replacement
[SVN r25573]
2004-10-05 15:45:52 +00:00
Douglas Gregor
7717a785de Fix some typos
[SVN r23844]
2004-07-20 14:42:19 +00:00
Fernando Cacciola
dce592e3b2 Added acknowldegment to Mat Marcus
[SVN r22074]
2004-01-30 13:17:22 +00:00
Fernando Cacciola
8d85b4c47b Fixed documentation for operator<
[SVN r21738]
2004-01-14 20:22:56 +00:00
Douglas Gregor
50d7c315d5 Fix link to variant library
[SVN r21184]
2003-12-08 14:18:54 +00:00
Fernando Cacciola
24416ae806 Updated to reflect additions
[SVN r21131]
2003-12-04 01:45:19 +00:00
Fernando Cacciola
7d8ab81d48 typo fixed and em-dash used instead of a single hypen for parenthetical phrases.
[SVN r17923]
2003-03-14 20:40:08 +00:00
Thomas Witt
93412ead09 Fixed typos.
[SVN r17631]
2003-02-25 10:29:21 +00:00
Fernando Cacciola
c59cea1720 Fixed doc typos and library index added
[SVN r17025]
2003-01-24 13:38:20 +00:00
Fernando Cacciola
6277c98514 Initial versions
[SVN r16995]
2003-01-22 17:54:11 +00:00