1. template template 원하는 타입을 넣어주면 알아서 변형>Vector int_vec;Vector : 활용 2. C++ 기본처리단위 : 1byte bool : 1bit>Vector 따로 처리>>템플릿 특수화 (template specialization)template class Vectordata(new unsigned int[n / 32 + 1]), capacity(n / 32 + 1), length(0) int 형으로 생성한 공간에 bool 로 채우면4byte = 32bit 즉, 32개의 bool 3.bool operator[](int i) { return (data[i / 32] & (1 비트 and 연산 후 0이 아니라면 return 1 " ..