Solved

template question

Posted on 2000-02-28
8
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

690 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