December 02, 2007 c++ » Re: bug: strange namespace bug | |||
|---|---|---|---|
| |||
...std::* outside the namespace, then inherit or typedef it inside the namespace, for example: #include... | |||
December 01, 2007 General » Re: Hack to name unit tests? | |||
|---|---|---|---|
| |||
...enum testname { ignore } }
template TESTNAME(alias K) {
typedef void function(testname!(K)) TESTNAME;
}
unittest {
int... | |||
November 30, 2007 General » Re: opImplictCast questions | |||
|---|---|---|---|
| |||
...you change "typedef" to "alias" and then it will. I believe D's typedef creates... | |||
November 30, 2007 General » opImplictCast questions | |||
|---|---|---|---|
| |||
...comes along, if I do the following:
typedef int X;
struct Y
{
X opImplicitCast() {...}
}
This... | |||
November 28, 2007 General » Re: any news on const/invariant? | |||
|---|---|---|---|
| |||
...are auto, extern, mutable, register, static and typedef. See the grammar at http://www.kuzbass... | |||
November 28, 2007 General » Re: any news on const/invariant? | |||
|---|---|---|---|
| |||
...are not interchangeable. For example, in C++, "typedef" is (syntactically) a storage class, but it... | |||
November 26, 2007 c++.stlsoft » recls 1.8.11 on VC 7.1: makefile doesn't produce widechar binaries (+solution) | |||
|---|---|---|---|
| |||
...reads: typedef string_tokeniser<string_type, char> tokeniser_type; while it should read: typedef string... | |||
November 24, 2007 General » Re: Bitfield structs and suggestion | |||
|---|---|---|---|
| |||
...following:
#include <stdio.h>
#define N 25
typedef union {
unsigned int i;
struct {
unsigned int... | |||
November 21, 2007 Learn » Re: Bitfield accessors | |||
|---|---|---|---|
| |||
...code:
#include <stdio.h>
#define N 25
typedef union {
unsigned int i;
struct {
unsigned int... | |||
November 20, 2007 General » Re: ubyte vs. char for non-UTF-8 (was Re: toString vs. toUtf8) | |||
|---|---|---|---|
| |||
Perhapses {,w,d}char should become typedef of u{byte,short,int} and drop as... | |||
Copyright © 1999-2021 by the D Language Foundation