Courir v3.4.6 gcc sur la v1.8.8 Botan je reçois l'erreur de compilation suivant la construction de ma demande après avoir construit avec succès Botan et l'exécution de son auto-test:Quel problème de modèles C++ se passe avec cette erreur?
../../src/Botan-1.8.8/build/include/botan/secmem.h: In member function `Botan::MemoryVector<T>& Botan::MemoryVector<T>::operator=(const Botan::MemoryRegion<T>&)':
../../src/Botan-1.8.8/build/include/botan/secmem.h:310: error: missing template arguments before '(' token
Quelle est cette erreur du compilateur me dit? Voici un extrait de secmem.h qui comprend la ligne 310:
[...]
/**
* This class represents variable length buffers that do not
* make use of memory locking.
*/
template<typename T>
class MemoryVector : public MemoryRegion<T>
{
public:
/**
* Copy the contents of another buffer into this buffer.
* @param in the buffer to copy the contents from
* @return a reference to *this
*/
MemoryVector<T>& operator=(const MemoryRegion<T>& in)
{ if(this != &in) set(in); return (*this); } // This is line 310!
[...]
@Clever -1er: Vous venez de donner 8 points qu'il n'aurait pas eu pour ne pas avoir expliqué votre problème avec la question. –
@RubenBartelink: 3 en fait. – sepp2k
@ sepp2k: Vrai - temporairement oublié mon esprit ... –