Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #13497

Re: Iterator in a template

From Pierre Abbat <phma@phma.optus.nu>
Newsgroups comp.lang.c++
Subject Re: Iterator in a template
Date 2012-01-19 13:05 +0000
Organization albasani.net
Message-ID <01hlu8-rs3.ln1@darner.ixazon.lan> (permalink)
References <hvjku8-rs3.ln1@darner.ixazon.lan> <jf8dlo$k79$1@dont-email.me>

Show all headers | View raw


On Wed, 18 Jan 2012 22:36:37 -0800, red floyd wrote:

> hmap<>::iterator is a dependent type.  use "typename map<hvec,
> T*>::iterator"
> 
> I believe this is in the FAQ

Thanks, it worked. I did see "dependent type" in the FAQ but, as I said, 
this is my first time making a template, and I don't understand 
everything.

I'll look at auto_ptr.

Pierre

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Iterator in a template Pierre Abbat <phma@phma.optus.nu> - 2012-01-19 04:49 +0000
  Re: Iterator in a template red floyd <no.spam.here@its.invalid> - 2012-01-18 22:36 -0800
    Re: Iterator in a template Pierre Abbat <phma@phma.optus.nu> - 2012-01-19 13:05 +0000
  Re: Iterator in a template "MikeWhy" <boat042-nospam@yahoo.com> - 2012-01-19 05:44 -0600
    Re: Iterator in a template SG <s.gesemann@gmail.com> - 2012-01-19 06:08 -0800

csiph-web