STLuΐ
deque‚Μƒƒ“ƒoŠΦ”@get_allocator

—Ό’[ƒLƒ…[‚ΜƒAƒƒP[ƒ^‚π•Τ‚·

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