Hara Kenji
84218d3e1e
Merge pull request #570 from denis-sh/scoped-bug6580-fix
...
Fix Issue 6580 - scoped classes are aligned incorrectly
2012-05-08 23:41:32 -07:00
Denis Shelomovskij
2503b18d1c
Fix Issue 6580 - scoped classes are aligned incorrectly
2012-05-07 23:08:36 +04:00
Denis Shelomovskij
273eb21226
Fix Issue 8039 - scoped
doesn't call any elaborate destructors for struct fields
...
Phobos isn't a place for runtime stuff like `destroy`. And Phobos developers aren't people who should write/check such stuff.
2012-05-07 15:51:25 +04:00
k-hara
01a8d9ab54
Add static assert
2012-03-24 12:51:57 +09:00
k-hara
cf7b014651
Make identity comparison more efficient
2012-03-24 12:06:50 +09:00
k-hara
d8d8da861b
Fix std.typecons.Proxy for identity assignment
2012-03-24 12:06:50 +09:00
k-hara
5a29b03e28
Rename: ProxyOf to Proxy, and TypeDef to Typedef.
2012-03-08 22:51:06 -08:00
k-hara
a0dbea1d2c
Remove workaround for issue 5525
2012-03-08 22:51:05 -08:00
k-hara
8751299b79
Add test for indexing/slicing operator overloading.
2012-03-08 22:51:05 -08:00
dawg
f72c840be8
allow to construct scoped with qualified classes
2012-03-08 22:51:04 -08:00
dawg
8240295df1
use inout for accessing Scoped's payload
2012-03-08 22:51:04 -08:00
dawg
74e7a6536c
scoped allows to bypass class constructor
2012-03-08 22:51:04 -08:00
k-hara
7331e0388b
Reduce code redundancy in ProxyOf
2012-03-08 22:51:03 -08:00
k-hara
50d80bf9bc
Apply review result to TypeDef
...
- Add third template parameter 'cookie'.
- Rename internal payload variable.
2012-03-08 22:51:03 -08:00
k-hara
eee42e3978
Add TypeDef
2012-03-08 22:51:03 -08:00
k-hara
8f80d6a6fe
Add ProxyOf
2012-03-08 22:51:03 -08:00
Andrei Alexandrescu
7d1ef0e9ba
Merge branch 'master' of github.com:D-Programming-Language/phobos
2012-02-23 14:05:01 -06:00
k-hara
8283af10c1
Change opEquals signature to allow receiving rvalue.
2012-02-21 20:25:10 +09:00
Andrei Alexandrescu
62cc814a42
Merge pull request #435 from kennytm/pure_nullable
...
pure/nothrow/@safe for std.typecons.Nullable
2012-02-20 21:35:04 -08:00
dsimcha
f7c6e665b7
Fix unlisted bug in std.typecons.Scoped. writeln() has no place in production code in these cases and wasn't properly imported either.
2012-02-19 13:15:43 -05:00
KennyTM~
9334e2adbf
Make Nullable pure/nothrow/@safe/const when possible.
2012-02-15 23:07:50 +08:00
Andrei Alexandrescu
dc6adb5eca
Merge branch 'master' of github.com:D-Programming-Language/phobos
2012-02-12 11:07:16 -06:00
Andrei Alexandrescu
0c7d3231cc
Unittest for http://d.puremagic.com/issues/show_bug.cgi?id=7296
2012-01-31 14:32:07 -08: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
k-hara
19f9b0dee9
Remove workaround for bug 2997.
2012-01-21 00:58:08 +09:00
k-hara
1c6914ac3c
Reject bad assignment by template constraint.
2011-12-26 01:40:18 +09:00
Andrei Alexandrescu
b3c0ce24fc
Merge pull request #336 from denis-sh/typecons-improvement
...
Convert unnecessary flag `opDispatch` property functions to templates
2011-12-04 13:03:02 -08: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
Denis Shelomovskij
bee2f5a380
Convert unnecessary functions to templates
2011-11-22 15:28:59 +03:00
Brad Roberts
4447ff98ac
reduce another import (only needed for tests)
2011-10-03 00:22:06 -07:00
k-hara
71ed134f6e
Issue 6275 - Const values in tuples
2011-09-16 22:04:55 +09:00
k-hara
149ddb7644
Add test for 6608
2011-09-06 15:57:11 +09:00
k-hara
fc8789e142
Add test for 6606
2011-09-06 15:53:57 +09:00
k-hara
0a91eaf60a
Improve Tuple formatting
2011-09-06 15:35:12 +09:00
k-hara
cf62cd2b3d
Make all member functions in std.typecons.Rebindable as pure nothrow
2011-08-24 11:55:36 +09:00
k-hara
5361f0c940
Merge remote branch 'remotes/upstream/master' into fix_scoped
...
Conflicts:
std/typecons.d
2011-08-17 02:10:37 +09:00
k-hara
3c1fb1dfd3
Fix indentation.
2011-08-17 00:31:59 +09:00
k-hara
8a35dfc18a
Fix std.typecons.scoped problem with interface inheritance
2011-08-16 16:31:54 +09:00
Andrei Alexandrescu
7842390577
Merge pull request #153 from kennytm/nullable
...
Re-enable std.typecons.Nullable and NullableRef
2011-08-13 22:52:02 -07:00
Andrei Alexandrescu
f122aebf2f
Merge pull request #148 from 9rnsr/fix4500
...
Issue 4500 - scoped moves class after calling the constructor
2011-08-13 22:10:03 -07:00
jmdavis
0ec7697819
Fixed enum values in std.traits to follow Phobos naming conventions.
2011-08-13 00:14:13 -07:00
KennyTM~
1708e5589f
std.typecons.Nullable: Fix doc typo.
2011-07-25 14:22:06 +08:00
KennyTM~
8ffcb34c00
Re-enable std.typecons.Nullable and NullableRef
2011-07-22 18:36:03 +08:00
k-hara
79de2881de
Issue 4500 - scoped moves class after calling the constructor
2011-07-17 22:41:03 +09:00
Daniel Murphy
df5e7a80d3
Rainer Schuetze's fix to prevent adding override to non-virtual functions.
...
This is required before http://d.puremagic.com/issues/show_bug.cgi?id=3581 can be fixed.
2011-07-08 16:45:05 +10:00
Andrei Alexandrescu
452926cf0a
Merge pull request #105 from blackwhale/regexp-to-regex
...
make dirEntries return InputRange (formly regex to regexp)
2011-06-21 11:55:27 -07:00
Dmitry Olshansky
4ac7d6e9d7
Make DirIterator an InputRange (Win32)
2011-06-13 15:46:41 +04:00
Andrei Alexandrescu
801ccc96ce
Changed yes and no to Yes and No types
2011-06-10 18:14:36 -05:00
Andrei Alexandrescu
84c75336a4
Added yes and no names
2011-06-10 15:51:42 -05:00