what the path is from memory.h to,auto_ptr.h?

Eric Liang eric.l.2046@gmail.com
Mon Dec 29 02:07:00 GMT 2008


Jan Engelhardt wrote:
> On Monday 2008-12-29 02:35, Eric Liang wrote:
>   
>>    It looks like that the file<memory> includes the
>> file<c++/4.3/backward/auto_ptr.h>.But when I open the file<features.h>
>> which is included in file<memory>,there is a mass of macros and files in
>> it.It's too difficult for me to continue the search...
>>
>>    So here is the question:what the path is from memory.h to
>> auto_ptr.h? or what can I do to find it?
>>     
>
> echo '#include <memory>' | g++ -E -
>
> and watch the #line lines as they essentially form a tree.
>   
Thanks Jan, but after running the command, I've got these as follows:

# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "<stdin>"
<stdin>:1:18: error: memory: No such file or directory

So, what can I do next?

BTW, I've sent this mail to <gcc-help-faq@gcc.gnu.org> before here, but
there's no reply. Is that address available? and what the difference is
between the two addresses? TIA.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20081229/559259d3/attachment.sig>


More information about the Gcc-help mailing list