Solved

template question

Posted on 2000-02-28
8
198 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
 
LVL 7

Expert Comment

by:KangaRoo
ID: 2567893
If you give some code we might have a look at it.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

920 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now