travis CI fixes

This commit is contained in:
Sergey Zubkov
2017-05-20 21:04:04 -04:00
parent a1f59395bb
commit 96a41a4a6e
2 changed files with 5 additions and 3 deletions

View File

@@ -5070,7 +5070,7 @@ It is closely related to the notion of Regular type from [EoP](http://elementsof
vector<Date> vd2(1000, Date{Month::October, 7, 1885}); // alternative vector<Date> vd2(1000, Date{Month::October, 7, 1885}); // alternative
The default constructor is only auto-generated if there is no user-declared constructor, hence it's impossible to initialize the vector `vd1` in the example above. The default constructor is only auto-generated if there is no user-declared constructor, hence it's impossible to initialize the vector `vd1` in the example above.
The absense of a default value can cause surprises for users and complicate its use, so if one can be reasonably defined, it should be. The absence of a default value can cause surprises for users and complicate its use, so if one can be reasonably defined, it should be.
`Date` is chosen to encourage thought: `Date` is chosen to encourage thought:
There is no "natural" default date (the big bang is too far back in time to be useful for most people), so this example is non-trivial. There is no "natural" default date (the big bang is too far back in time to be useful for most people), so this example is non-trivial.
@@ -5129,7 +5129,7 @@ Assuming that you want initialization, an explicit default initialization can he
##### Example ##### Example
There are classses that simply don't have a reasonable default. There are classes that simply don't have a reasonable default.
A class designed to be useful only as a base does not need a default constructor because it cannot be constructed by itself: A class designed to be useful only as a base does not need a default constructor because it cannot be constructed by itself:

View File

@@ -146,6 +146,7 @@ endl
enum enum
Enum Enum
enums enums
EoP
eq eq
eqdefault eqdefault
EqualityComparable EqualityComparable
@@ -305,6 +306,7 @@ mtx
Murray93 Murray93
mutex mutex
mutexes mutexes
mx
myMap myMap
MyMap MyMap
myset myset