Como posso obter o tamanho de um vetor :: value_type?

Eu quero pegarsizeof do tipo que está contido em um vetor. Aqui está o que eu tentei:

#include <iostream>
#include <vector>

int main()
{
    std::vector<uint> vecs;
    std::cout << sizeof(vecs.value_type) << std::endl;
    return 0;
}

Pelo meu entendimento, isso deve estar correto. No entanto, ao compilar com o GCC 4.8.1, é isso que recebo:

test-sizeof.cpp: In function ‘int main()’:
test-sizeof.cpp:7:27: error: invalid use of ‘std::vector<unsigned int>::value_type’
  std::cout << sizeof(vecs.value_type) << std::endl;
                           ^

O que estou fazendo errado? Como posso obter o tamanho do tipo contido?

questionAnswers(4)

yourAnswerToTheQuestion