Solved

template question

Posted on 2000-02-28
8
199 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

785 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