Commit graph

521 commits

Author SHA1 Message Date
Nick Treleaven
5182ddd675 Fix emplace!Class(void[]) docs
Move emplace!Class(Class*) unittest to correct overload.
Add actual example for emplace!Class(void[]).
Use ddoc precondition blocks.
2016-03-21 11:09:36 +00:00
Hara Kenji
8221ff729a Merge pull request #4057 from BBasile/issue-15772
fixed issue 15772 - emplace works with abstract classes but it shouldn't
2016-03-14 22:34:09 +09:00
Basile Burg
f8bde7f890 fixed issue 15772 2016-03-14 08:39:52 +01:00
Nikolay Tolstokulakov
eff74ed2a2 netbsd patch 2016-03-11 10:10:47 +06:00
Steven Schveighoffer
b0acb7a394 Fix remaining import deprecation messages 2016-02-22 16:03:12 -05:00
H. S. Teoh
c80f3fe5ef Correct invalid character in error message in int parsing code. 2016-02-17 12:29:34 -08:00
H. S. Teoh
d5fe5ab4fa Fix misleading comment. 2016-02-17 11:55:48 -08:00
H. S. Teoh
30035daa88 Flag should be bool, not size_t. 2016-02-17 11:50:05 -08:00
Andrei Alexandrescu
4898908ae1 Merge pull request #3769 from WalterBright/opttochars
std.conv: improve toChars() performance
2016-01-15 16:42:28 -05:00
Walter Bright
08ffa1d2b5 std.conv: improve toChars() 2016-01-15 11:21:28 -08:00
Andrei Alexandrescu
718208dfc5 Merge pull request #3846 from aG0aep6G/TypeInfo.initializer
TypeInfo.init -> TypeInfo.initializer
2016-01-12 11:40:47 -05:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
tsbockman
1b19dd67e3 Improve std.conv.parse() docs. Point out that std.conv.to() works with string literals. 2015-12-07 19:08:11 -08:00
tsbockman
1f8bb8c811 Clean up invalid "@@@BUG@@@" comments from std.conv.parse unittest. 2015-12-07 18:49:03 -08:00
anonymous
933aa8e30d TypeInfo.init -> TypeInfo.initializer 2015-11-30 21:20:46 +01:00
Jonathan M Davis
d34164a2ea Move some deprecations along. 2015-11-26 00:28:38 -08:00
anonymous
1c8467c676 update links to spec pages 2015-11-24 17:58:49 +01:00
Lionello Lunesu
be227ef595 Fixed some doc warnings 2015-11-17 09:21:52 +08:00
Walter Bright
48d57e36e7 Merge pull request #3805 from andralex/simpler-emplace
Simpler emplace
2015-11-13 18:50:38 -08:00
Andrei Alexandrescu
7e61c6d1d7 Improve coverage 2015-11-13 08:18:43 -05:00
Andrei Alexandrescu
9cc91cdac3 Add unittest for unions, fix typo and alignment 2015-11-12 09:35:43 -05:00
Andrei Alexandrescu
d2fa18dcef Remove trailing whitespace 2015-11-11 21:05:45 -05:00
Andrei Alexandrescu
b4bb27ab5a Review 2015-11-11 19:48:11 -05:00
Andrei Alexandrescu
38caf42704 Major simplification of emplace - get the compiler to generate most of the needed code 2015-11-11 19:32:49 -05:00
Andrei Alexandrescu
32b000d93e Remove static assert(__traits(compiles, xyz)) from std.conv 2015-11-11 13:34:49 -05:00
Andrei Alexandrescu
2eb1280e12 WIP on emplace 2015-11-11 13:25:51 -05:00
Andrei Alexandrescu
d4b2a3e389 remove trailing whitespace 2015-11-11 00:15:55 -05:00
Andrei Alexandrescu
d48220ac65 Fix Issue 15313 - std.conv.emplace cannot initialize const objects 2015-11-10 23:57:36 -05:00
Andrei Alexandrescu
3ede453ab0 No need to return ref from internal functions 2015-11-10 23:52:28 -05:00
Andrei Alexandrescu
b4c876df59 Simplify emplaceImpl for static arrays 2015-11-10 21:26:32 -05:00
Andrei Alexandrescu
e11c1dc346 Simplify emplaceRef 2015-11-10 20:54:34 -05:00
Dmitry Olshansky
e153b0a04b Merge pull request #3763 from JakobOvrum/octal_bloat
Fix std.conv.octal issues
2015-10-27 12:55:59 +03:00
Jakob Øvrum
7cc1e3359b Fix std.conv.octal issues 2015-10-22 18:40:18 +09:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Martin Nowak
8d9d606ef8 Merge pull request #3700 from CyberShadow/pull-20151007-105521
Use canonical links to forum.dlang.org
2015-10-07 16:01:04 +02:00
Vladimir Panteleev
52d6930daf Use canonical links to forum.dlang.org
http://forum.dlang.org/help#canonical
2015-10-07 10:55:51 +00:00
Martin
8c367157d6 Fix std.conv unittest compile error for platforms with 64-bit reals
By importing std.exception for assertThrown().
2015-09-26 17:02:56 +02:00
vladdeSV
9aefe36296 Change S to Char[]
Replace std.conv.convFormat() with alias to std.format.format()
2015-08-15 12:33:06 +02:00
vladdeSV
4a366aad57 Added isSomeString 2015-08-10 16:58:03 +02:00
vladdeSV
c3e86ff4fc Fix error in conv.d 2015-08-10 16:20:09 +02:00
Walter Bright
8dd8c0856e std.conv add toChars() 2015-07-09 15:29:27 -07:00
Steven Schveighoffer
c6e3b256fe Merge pull request #3409 from JesseKPhillips/octaldocs
Minor change to octal documentation
2015-06-12 23:44:52 -04:00
Jesse Phillips
7996459389 Add reference to C for octal numbers 2015-06-12 20:23:23 -07:00
Jesse Phillips
f086bb7a9c Minor change to octal documentation
This is in response to the reverting found in pull #3375.

This removes a mention of being experimental and possible future deprecation of a no longer valid 0 prefix.

It also mentions parse for runtime parsing of octal strings.
2015-06-09 10:15:41 -07:00
Steven Schveighoffer
d4078d4900 Revert "Modify std.conv.octal to be usable at runtime" 2015-06-05 17:48:05 -04:00
Steven Schveighoffer
4cea8f1e4d Merge pull request #3343 from McSherry/runtime-octal-conv
Modify std.conv.octal to be usable at runtime
2015-06-04 09:03:16 -04:00
Liam McSherry
a73480eae4 document std.conv.octal(T)(const(char)[]) precondition 2015-06-01 17:51:39 +01:00
Liam McSherry
dccd13cd6c modify std.conv.octal to be usable at runtime 2015-06-01 15:55:42 +01:00
Daniel Murphy
ebc90dc149 Merge pull request #2657 from joakim-noah/separate_glibc
Separate linux kernel, glibc, and bionic APIs where appropriate
2015-05-30 08:22:30 -06:00
Robert burner Schadek
e6ce6b0d22 updates to new alias syntax 2015-05-28 18:28:48 +02:00