From: Warren Young Date: September 29 2008 7:08pm Subject: Re: Bug: cannot insert a Null List-Archive: http://lists.mysql.com/plusplus/8015 Message-Id: MIME-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Sep 28, 2008, at 7:09 PM, Russell Robinson wrote: > The offending line is this: > Null, data); > > If I change it to this: > sql_blob, data) > > it compiles. Null<> is not a transparent wrapper. By adding the wrapper, you have added an additional layer of indirection: sql_blob a; Null b; cout << a.length() << endl; cout << b.data.length() << endl; You're probably not accessing the members of SSQLS.data through this second "data" layer.