Skip to content

Commit b3b9c10

Browse files
author
=
committed
closes #17 closes #15 closes #10 closes #6 closes #11
1 parent 5ae0e16 commit b3b9c10

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Deque.h

+8-4
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,8 @@ class my_deque {
548548
// ------------
549549

550550
/**
551-
*
551+
* @param specify the allocator type (not required)
552+
* @ret a new instance of my_deque
552553
*/
553554
explicit my_deque (const allocator_type& a = allocator_type()):_a(a) {
554555
const_reference v = value_type();
@@ -571,7 +572,10 @@ class my_deque {
571572
assert(valid());}
572573

573574
/**
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
575579
*/
576580
explicit my_deque (size_type s, const_reference v = value_type(), const allocator_type& a = allocator_type()): _a(a) {
577581
_top = _outter.allocate((s/AWIDTH + 1)*2);
@@ -603,8 +607,8 @@ class my_deque {
603607
assert(valid());}
604608

605609
/**
606-
* Copy Constructor
607-
*
610+
* @param original my_deque to be copied
611+
* @ret a new instance of my_deque identical to the original
608612
*/
609613
my_deque (const my_deque& that):_a(that._a) {
610614
_top = _outter.allocate(that._top_size);

0 commit comments

Comments
 (0)