Brad Roberts
a47332ca0d
Merge pull request #540 from 9rnsr/fix7919
...
Issue 7919 - Sample code works on GDC but fails with DMD
2012-05-12 10:32:26 -07:00
Denis Shelomovskij
a6e38e3472
Fix Issue 8037 - hasElaborateDestructor is false for non-zero-length static array of structs with elaborate destructor
2012-05-06 19:10:24 +04:00
Andrej Mitrovic
26de06e404
Move templates below OriginalType
2012-04-19 04:08:41 +02:00
Andrej Mitrovic
41fc17ee6b
Change unittest and add static assert to examples.
2012-04-19 03:48:07 +02:00
Andrej Mitrovic
a7148b3bb5
Merge remote-tracking branch 'upstream/master' into KeyTypeValueType
2012-04-19 03:43:06 +02:00
k-hara
e3cfaeb005
fix Issue 7919 - Sample code works on GDC but fails with DMD
2012-04-17 18:01:04 +09:00
Hara Kenji
9b8abdbaa4
Merge pull request #476 from jmaschme/fixModuleNameWithNoPackage
...
Modified moduleName trait to only include the package name if it is valid
2012-04-15 06:16:29 -07:00
Hara Kenji
da44d0b006
Merge pull request #525 from denis-sh/remove-workarounds-for-2986
...
Removed workarounds for resolved bug 2986
2012-04-15 05:03:47 -07:00
Hara Kenji
e666b6c806
Merge pull request #526 from denis-sh/fix-pointerTarget-name
...
Capitalize `pointerTarget`'s first letter
2012-04-15 01:05:24 -07:00
Denis Shelomovskij
20420759cb
Capitalize pointerTarget
's first letter
2012-04-07 16:40:23 +04:00
Denis Shelomovskij
dc6c8c6c93
Removed workarounds for resolved bug 2986
2012-04-07 14:20:38 +04:00
Denis Shelomovskij
0f9ecb9044
Small improvements not changing the functionality
...
* get rid of `determineVariadicity` private function
* make `isIterable` template shorter
2012-04-07 14:05:00 +04:00
k-hara
a5cff8017e
Use SomethingTypeOf in isSomeThing templates
2012-03-12 14:13:43 +09:00
k-hara
196fa86364
Add SomethingTypeOf templates
2012-03-12 14:13:42 +09:00
k-hara
be181743c1
isMutable should return false for inout type
2012-03-12 14:13:40 +09:00
k-hara
bf7f4e5f1c
ForeachType should support inout array type
2012-03-12 14:13:39 +09:00
John Maschmeyer
afb1667f78
Modified moduleName trait to only include the package name if it is valid
2012-03-03 12:41:34 -06:00
Andrej Mitrovic
c1a3c42ade
remove constraint
2012-02-24 02:37:44 +01:00
Andrej Mitrovic
0761569e58
space fixes
2012-02-22 19:35:30 +01:00
Andrej Mitrovic
3826849227
Simpler implementation.
2012-02-22 19:34:34 +01:00
Andrej Mitrovic
92a8192615
Implement KeyType and ValueType
2012-02-22 19:27:33 +01:00
Andrei Alexandrescu
3daab5ada2
Merge pull request #407 from 9rnsr/improve_templates
...
More use of eponymous template trick
2012-02-09 09:45:37 -08:00
k-hara
686f53f6d2
Issue 5718 - Can't demangle symbol defined inside unittest block
...
std.traits.mangledName should return valid mangled name against symbols in function.
2012-02-02 00:25:20 +09:00
k-hara
12322b9e5c
Fix test of hasMember
2012-01-29 20:40:18 +09:00
k-hara
9930db8839
More readable unittest in std.traits
2012-01-29 20:40:07 +09:00
k-hara
b7e47383db
More use of eponymous template trick
2012-01-29 20:39:55 +09:00
k-hara
af9ea3465c
Move implementation templates into template local scope
2012-01-29 20:37:48 +09:00
Jonathan M Davis
59d53d15d7
Merge pull request #298 from 9rnsr/improve_format
...
Cleanup and improve std.format
2012-01-22 18:15:48 -08:00
k-hara
19f9b0dee9
Remove workaround for bug 2997.
2012-01-21 00:58:08 +09:00
k-hara
a51a58b62f
Workaround for 6744
2012-01-21 00:56:15 +09:00
Robert Clipsham
c7f9c71624
Fix copy/paste fail.
2012-01-07 02:57:24 +00:00
Robert Clipsham
bf232cea4b
Fix a slight issue with fullyQualifiedName
2012-01-07 02:32:27 +00:00
Robert Clipsham
8c8fd3ef88
Fix names to match phobos style guidelines.
2012-01-06 22:58:25 +00:00
Robert Clipsham
9b790cbf04
Add PackageName, ModuleName and FullyQualifiedName traits.
2012-01-06 22:50:28 +00:00
k-hara
d493815bfe
Supplemental changes for 3235 & 6714
2011-12-31 14:39:05 +09:00
Walter Bright
380ae65511
remove empty statements
2011-12-29 00:05:45 -08:00
Jonathan M Davis
ea3a33b307
Merge pull request #350 from shoo/fix6642
...
Issue 6642 - SysTime should not be hasUnsharedAliasing
2011-12-20 23:13:49 -08:00
k-hara
e9a4f6660d
Issue 7070 - can't assign null to Variant
2011-12-10 12:26:48 +09:00
Walter Bright
86df60f442
needed due to fix to Issue 7027
2011-12-07 20:39:46 -08:00
shoo
a2eeb11c67
Issue 6642 - SysTime should not be hasUnsharedAliasing
...
http://d.puremagic.com/issues/show_bug.cgi?id=6642
2011-12-05 23:42:42 +09:00
David Nadlinger
e312f9898b
Strict @property syntax compliance.
...
This enables the test suite to build with the -property switch enabled.
std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
shoo
532674f858
Issue 6979 - hasUnsharedAliasing cannot accept plural parameters
2011-12-01 02:48:09 +09:00
k-hara
3331f1fe97
Issue 6973 - static assert(isOutputRange!(OutputRange!int, int)) is false
2011-11-25 19:45:10 +09:00
k-hara
fa5794770a
Issue 6902 - Different "pure nothrow int()" types
2011-11-14 17:48:22 +09:00
k-hara
58170c198c
Revert "Issue 6902 - Different "pure nothrow int()" types"
...
This reverts commit d26c719634
.
The pull 322 was merged in an accident, and it breaks Phobos.
2011-11-14 09:07:14 +09:00
k-hara
d26c719634
Issue 6902 - Different "pure nothrow int()" types
2011-11-12 13:59:50 +09:00
k-hara
89b986a855
Fix std.traits.isAbstractFunction breaking
2011-11-07 18:17:46 +09:00
David Simcha
4546b3a493
Merge pull request #318 from denis-sh/templates-improvement
...
Templates improvement
2011-11-06 14:58:38 -08:00
simendsjo
1e9994f7c3
The comment type //:::// confuses the vim syntax plugin making it very difficult to work with the file.
2011-11-06 15:55:37 +01:00
Denis Shelomovskij
064fc770d8
Get rid of fixed bugs mentions in std.traits
...
Workarounds removed for 4217, 4333, 2509
Mentioning removed for 4732, unittest is added instead
Corrected bug number from 2234 to 2997
2011-11-06 12:06:55 +03:00