Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #15265
| From | Miles Bader <miles@gnu.org> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Using undeclared function in template function |
| Date | 2012-04-10 16:24 +0900 |
| Message-ID | <87obr0qcbi.fsf@catnip.gol.com> (permalink) |
| References | <4f83cb66$0$3062$7b1e8fa0@news.nbl.fi> |
Juha Nieminen <nospam@thanks.invalid> writes: > gcc compiles this just fine, but clang gives an error: > > error: call to function 'bar' that is neither visible in the > template definition nor found by argument-dependent lookup I assume that's gcc 4.6 or earlier. gcc 4.7 and later give an error similar to clang's. -miles -- Once, adj. Enough.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using undeclared function in template function Juha Nieminen <nospam@thanks.invalid> - 2012-04-10 05:55 +0000
Re: Using undeclared function in template function Miles Bader <miles@gnu.org> - 2012-04-10 16:24 +0900
Re: Using undeclared function in template function Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-04-13 12:32 +0000
csiph-web