Ό[L [ΜAP[^πΤ·
allocator_type get_allocator() const; |
#include <iostream> #include <deque> using namespace std; int main() { deque<char> ob; int i; deque<char> ob2(5, 'a', ob.get_allocator()); for(i=0; i<ob2.size(); i++) cout << ob2[i] << " " ; return 0; } |
ΐsΚ
a a a a a |