文档说,std :: vector的size_type通常是/ size_t,这很合理,因为实现可以选择使用不同的值。但是为什么在std :: array中size_type = size_t。 ...
miner.cpp: In function ‘void DogecoinMiner(CWallet*)’: miner.cpp:536:74: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘std::vector<CTransaction>::size_type {aka long unsigned int}’ [-Wformat]...
Hello Everybody, I would like using different constants of std_logic_vector type like that, because I want to using the numeric value :
I would like using different constants of std_logic_vector type like that, because I want to using the numeric value : constant VAL_MAX_COMPTEUR_2HZ : std_logic_vector(19 downto 0) := To_stdlogicvector(X"000011"); and if I change the size of the std...