Boost logo

Boost :

Subject: Re: [boost] [concept_check] silence gcc warnings
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2010-03-31 07:50:38


Hi Mathias,

Op den Middeweken 31 März 2010 Klock 12:11:20 hest Du schreven:
> Jürgen Hunold a écrit :
> You don't need to define it, declaring it should be enough (and better).

Yes, of course. Modified patch attached. Thanks.

> Actually I don't even see how it can work when you define it, since it
> doesn't know how to initialize the reference member.

Well, I think that gcc can not create a sensible default constructor in this
case and therefore issues the warning. It does not seem to care if a
constructor is provided by the user. And that is all I want ;-))

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk