I can use vector<int>, but I can't use vector<bool>.<br>Does anybody know why?<br><br>leandro.costa@hydrus:~/personal/aspects/bug3> more C.h C.cc C.ah<br>::::::::::::::<br>C.h<br>::::::::::::::<br>#ifndef _C_H_<br>
#define _C_H_<br><br>#include <vector><br>using std::vector;<br><br>class C<br>{<br> vector<bool> bVec;<br>};<br><br>#endif<br>::::::::::::::<br>C.cc<br>::::::::::::::<br>#include "C.h"<br>::::::::::::::<br>
C.ah<br>::::::::::::::<br>#ifndef _ASPC_AH_<br>#define _ASPC_AH_<br><br>aspect AspC<br>{<br><br>};<br><br>#endif<br>cd aspects/<br>leandro.costa@hydrus:~/personal/aspects/bug3> ac++ -v9 --real-instances --config puma.config -p . -a C.ah -c C.cc -o C.acc<br>
* Running ac++ 1.0pre4 svn<br>* Handling Translation Unit `C.cc'.<br> - Path "C.cc"<br> - Inserting namespace AC<br> - Parsing ...<br>C.h:9: In instantiation of `vector<bool>':<br>%vector<bool>:1: error: `_Tp1' undeclared here<br>
%vector<bool>:1: error: expected a type as argument 1<br>%vector<bool>:1: error: `_Alloc' undeclared here<br>%vector<bool>:1: error: expected a type as argument 1<br> - Aborting<br>leandro.costa@hydrus:~/personal/aspects/bug3><br>
<br clear="all"><br>-- <br>_____________________________________________<br><br> Leandro Souza Costa<br><br>"A vitória se encastela em jardins encantadores,<br> mas para se chegar a ela não há caminho de flores"<br>
_____________________________________________<br>