www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - std.conv.emplace

reply "Froglegs" <lugtug gmail.com> writes:
This function

T emplace(T, Args...)(void[] chunk, Args args) if (is(T == class))
{
    enforce(chunk.length >= __traits(classInstanceSize, T),
           new ConvException("emplace: chunk size too small


This >= needs to be changed to a <
Dec 21 2011
parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Thursday, December 22, 2011 07:23:14 Froglegs wrote:
 This function
 
 T emplace(T, Args...)(void[] chunk, Args args) if (is(T == class))
 {
     enforce(chunk.length >= __traits(classInstanceSize, T),
            new ConvException("emplace: chunk size too small
 
 
 This >= needs to be changed to a <
Please, do not post to this list (it really should reject all posts sent to it by users). You sign up for it if you want to see all of the messages sent by bugzilla, _not_ to post bugs. Bugs should be posted to bugzilla: d.puremagic.com/issues - Jonathan M Davis
Dec 21 2011