On Thursday, October 03, 2013 22:57:22 Craig Dillabaugh wrote:
> On Thursday, 3 October 2013 at 19:49:07 UTC, Jonathan M Davis
>
> wrote:
> > On Thursday, October 03, 2013 20:57:20 Craig Dillabaugh wrote:
> >> On Thursday, 3 October 2013 at 18:12:01 UTC, Jonathan M Davis
>
> clip
>
> >> > - Jona
On Thursday, 3 October 2013 at 19:49:07 UTC, Jonathan M Davis
wrote:
On Thursday, October 03, 2013 20:57:20 Craig Dillabaugh wrote:
On Thursday, 3 October 2013 at 18:12:01 UTC, Jonathan M Davis
clip
>
> - Jonathan M Davis
Fair enough. As you point out the fix is pretty simple.
However, I
On Thursday, October 03, 2013 20:57:20 Craig Dillabaugh wrote:
> On Thursday, 3 October 2013 at 18:12:01 UTC, Jonathan M Davis
>
> wrote:
> > On Thursday, October 03, 2013 15:22:28 Craig Dillabaugh wrote:
> >> It seems that std.file should include a writeText() function
> >> for
> >> the sake of c
Craig Dillabaugh:
However, I can't seem to remember in C++ or any other language
(not that I know all that many other languages) coming across a
function in the standard library that conflicted with another
function in the standard library in this way.
Generally Phobos should be designed to
On Thursday, 3 October 2013 at 18:12:01 UTC, Jonathan M Davis
wrote:
On Thursday, October 03, 2013 15:22:28 Craig Dillabaugh wrote:
It seems that std.file should include a writeText() function
for
the sake of consistency that is the above alias. When you come
across readText() in the documentat
On 10/03/2013 01:11 PM, Jonathan M Davis wrote:
On Thursday, October 03, 2013 15:22:28 Craig Dillabaugh wrote:
It seems that std.file should include a writeText() function for
the sake of consistency that is the above alias. When you come
across readText() in the documentation you sort of expect
On Thursday, October 03, 2013 12:45:55 Joseph Rushton Wakeling wrote:
> > If you to restrict yourself to the built-in ones in your code, then use
> > the
> > ones at
> >
> > http://dlang.org/ddoc.html
> >
> > And if you want to define more, then create your own .ddoc file with them
> > in it. But
On Thursday, October 03, 2013 15:22:28 Craig Dillabaugh wrote:
> It seems that std.file should include a writeText() function for
> the sake of consistency that is the above alias. When you come
> across readText() in the documentation you sort of expect that
> such a function would exist, and then
On Thursday, 3 October 2013 at 02:57:50 UTC, Andrej Mitrovic
wrote:
On 10/3/13, Craig Dillabaugh
wrote:
void main( string[] args ) {
string str = "Hello";
write( "file.txt", str );
string hello_file = readText("file.txt");
writeln( hello_file );
}
You can also disambiguate b
On Thursday, 3 October 2013 at 12:24:38 UTC, Zhouxuan wrote:
mixin template test()
{
int next;
}
void foo(alias l, alias t)()
{
t.next = l.next;
}
void main()
{
struct A
{
int next;
}
A a;
mixin test l1;
m
mixin template test()
{
int next;
}
void foo(alias l, alias t)()
{
t.next = l.next;
}
void main()
{
struct A
{
int next;
}
A a;
mixin test l1;
mixin test l2;
foo!(l1,a); //ok!
f
On Thursday, 3 October 2013 at 11:30:58 UTC, Andrej Mitrovic
wrote:
On 10/3/13, evilrat wrote:
// Create a render target view
ID3D11Texture2D* pBackBuffer;
// C++ version
//hr = g_pSwapChain->GetBuffer( 0, __uuidof( ID3D11Texture2D
),(LPVOID*)&pBackBuffer );
// D version(crashes)
hr =
On Thursday, 3 October 2013 at 11:21:14 UTC, Benjamin Thaut wrote:
Am 03.10.2013 12:47, schrieb evilrat:
On Thursday, 3 October 2013 at 10:08:42 UTC, Benjamin Thaut
wrote:
NO I mean are you sure the library paths are correctly set to
the
"June 2010 DirectX SDK/lib" path?
all paths are set
On 10/3/13, evilrat wrote:
> // Create a render target view
> ID3D11Texture2D* pBackBuffer;
>
> // C++ version
> //hr = g_pSwapChain->GetBuffer( 0, __uuidof( ID3D11Texture2D
> ),(LPVOID*)&pBackBuffer );
>
> // D version(crashes)
> hr = g_pSwapChain.GetBuffer( 0, &IID_ID3D11Texture2D,
> cast
Am 03.10.2013 12:47, schrieb evilrat:
On Thursday, 3 October 2013 at 10:08:42 UTC, Benjamin Thaut wrote:
NO I mean are you sure the library paths are correctly set to the
"June 2010 DirectX SDK/lib" path?
all paths are set correctly.
Do you use 32 or 64 bit?
32 bit.
You can get details
On Thursday, 3 October 2013 at 10:46:00 UTC, Joseph Rushton
Wakeling wrote:
On 02/10/13 21:34, Jonathan M Davis wrote:
It's not a bug at all. It's in
https://github.com/D-Programming-Language/dlang.org/blob/master/std.ddoc
ddoc is a macro language and does not at all restrict you to
what come
On Thursday, 3 October 2013 at 10:08:42 UTC, Benjamin Thaut wrote:
NO I mean are you sure the library paths are correctly set to
the "June 2010 DirectX SDK/lib" path?
all paths are set correctly.
Do you use 32 or 64 bit?
32 bit.
You can get details on crashes inside DirectX by using the
On 02/10/13 21:34, Jonathan M Davis wrote:
It's not a bug at all. It's in
https://github.com/D-Programming-Language/dlang.org/blob/master/std.ddoc
ddoc is a macro language and does not at all restrict you to what comes with
it, and the standard library uses quite a few macros that are specific
Am 03.10.2013 11:57, schrieb evilrat:
On Thursday, 3 October 2013 at 09:35:46 UTC, Benjamin Thaut wrote:
Am 03.10.2013 08:19, schrieb evilrat:
i'm trying directx bindings from dsource
(http://dsource.org/projects/bindings/wiki/DirectX)
and encountered problem, when calling swap chain getbuffer
On Thursday, 3 October 2013 at 09:35:46 UTC, Benjamin Thaut wrote:
Am 03.10.2013 08:19, schrieb evilrat:
i'm trying directx bindings from dsource
(http://dsource.org/projects/bindings/wiki/DirectX)
and encountered problem, when calling swap chain getbuffer it
suddenly
crashes. does anyone usin
On Wednesday, 2 October 2013 at 02:10:35 UTC, Nick Sabalausky
wrote:
I thought variable.init was different from T.init and gave the
value of
the explicit initializer if one was used. Was I mistaken?:
import std.stdio;
void main()
{
int a = 5;
writeln(a.init); // Outputs 0, not 5
Am 03.10.2013 08:19, schrieb evilrat:
i'm trying directx bindings from dsource
(http://dsource.org/projects/bindings/wiki/DirectX)
and encountered problem, when calling swap chain getbuffer it suddenly
crashes. does anyone using it? any help please :(
// Create a render target view
ID3D11Texture
22 matches
Mail list logo