[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation error: auto_ptr and private class
From: |
Michael Goffioul |
Subject: |
Compilation error: auto_ptr and private class |
Date: |
Fri, 12 Feb 2010 08:05:35 +0000 |
Hi,
I'm getting the following compiling error with MSC. Any hint?
Michael.
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\memory(718) :
error C2248: 'idx_vector::idx_vector_rep' : cannot access private
class declared in class 'idx_vector'
c:\sources\playground\c\octave-graphics-hg\liboctave\idx-vector.h(275)
: see declaration of 'idx_vector::idx_vector_rep'
c:\sources\playground\c\octave-graphics-hg\liboctave\idx-vector.h(53)
: see declaration of 'idx_vector'
C:\Program Files\Microsoft Visual Studio
9.0\VC\INCLUDE\memory(716) : while compiling class template member
function 'std::auto_ptr<_Ty>::~auto_ptr(void)'
with
[
_Ty=idx_vector::idx_vector_rep
]
../../liboctave/idx-vector.cc(453) : see reference to class
template instantiation 'std::auto_ptr<_Ty>' being compiled
with
[
_Ty=idx_vector::idx_vector_rep
]
- Compilation error: auto_ptr and private class,
Michael Goffioul <=
- Re: Compilation error: auto_ptr and private class, Jaroslav Hajek, 2010/02/12
- Re: Compilation error: auto_ptr and private class, Michael Goffioul, 2010/02/12
- Re: Compilation error: auto_ptr and private class, John Swensen, 2010/02/12
- Re: Compilation error: auto_ptr and private class, Michael Goffioul, 2010/02/12
- Re: Compilation error: auto_ptr and private class, John Swensen, 2010/02/12
- Message not available
- Re: Compilation error: auto_ptr and private class, Michael Goffioul, 2010/02/12
- Re: Compilation error: auto_ptr and private class, John Swensen, 2010/02/12
- Re: Compilation error: auto_ptr and private class, Jaroslav Hajek, 2010/02/12
- Re: Compilation error: auto_ptr and private class, Michael Goffioul, 2010/02/12
- Re: Compilation error: auto_ptr and private class, Michael Goffioul, 2010/02/12