File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -548,7 +548,8 @@ class my_deque {
548
548
// ------------
549
549
550
550
/* *
551
- *
551
+ * @param specify the allocator type (not required)
552
+ * @ret a new instance of my_deque
552
553
*/
553
554
explicit my_deque (const allocator_type& a = allocator_type()):_a(a) {
554
555
const_reference v = value_type ();
@@ -571,7 +572,10 @@ class my_deque {
571
572
assert (valid ());}
572
573
573
574
/* *
574
- *
575
+ * @param s size of the new my_deque
576
+ * @param specify the value (not required)
577
+ * @param specify the allocator type (not required)
578
+ * @ret a new instance of my_deque
575
579
*/
576
580
explicit my_deque (size_type s, const_reference v = value_type(), const allocator_type& a = allocator_type()): _a(a) {
577
581
_top = _outter.allocate ((s/AWIDTH + 1 )*2 );
@@ -603,8 +607,8 @@ class my_deque {
603
607
assert (valid ());}
604
608
605
609
/* *
606
- * Copy Constructor
607
- *
610
+ * @param original my_deque to be copied
611
+ * @ret a new instance of my_deque identical to the original
608
612
*/
609
613
my_deque (const my_deque& that):_a(that._a) {
610
614
_top = _outter.allocate (that._top_size );
You can’t perform that action at this time.
0 commit comments