Solved

template question

Posted on 2000-02-28
8
200 Views
Last Modified: 2010-04-02
Error: otlisttypes.cpp, line 4: invalid explicit instantiation
          declaration


does anybody have any idea what this means?
0
Comment
Question by:superdesio
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 50 total points
ID: 2567230
Were not psychic!  Why don't you post the relevant code.

The compiler thinks yoiur are trying to explicitly instanciate a template.  This is used to force the compiler to create a template for a particular set of template parameters.  However it is impossible to say why this is in error, or why the compiler thinks it is in error because we don't have the code.
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 2567299
look forward to seeing it.

Also could you tell us which compiler you are using, as well as showing us the source line.

If it referece to a templated class or function, please show the source code for that as well.
0
 

Expert Comment

by:tebsk
ID: 2567498
pl. give the code. Then only we  can identify what is the problem in it

Regards,

Baskar
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 7

Expert Comment

by:KangaRoo
ID: 2567893
If you give some code we might have a look at it.
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 2568198
We're all waiting with bated breath.
0
 
LVL 22

Expert Comment

by:nietod
ID: 2572212
Did that help you?  (I would be surprised if it did.)  There was no need to accept it as an answer if it didn't.)
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 2572242
Easiest points you've ever got, nietod :-)
0
 
LVL 7

Expert Comment

by:KangaRoo
ID: 2575747
I wouldn't be surprised if this has happened before.
superdesio, is your question 'answered'?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question