Skip to content

Commit

Permalink
Wrap some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyCarter authored and StephanTLavavej committed Jan 24, 2020
1 parent b2325a9 commit cb20871
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
7 changes: 2 additions & 5 deletions stl/inc/strstream
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,11 @@ public:
}; // set if character array ownership given away
using _Strstate = int;

// construct with empty character array
__CLR_OR_THIS_CALL strstreambuf() {
// construct with empty character array
__CLR_OR_THIS_CALL strstreambuf() { // construct with empty character array
_Init(0);
}

explicit __CLR_OR_THIS_CALL strstreambuf(streamsize _Count) {
// construct with suggested initial size
explicit __CLR_OR_THIS_CALL strstreambuf(streamsize _Count) { // construct with suggested initial size
_Init(_Count);
}

Expand Down
12 changes: 6 additions & 6 deletions stl/inc/xlocbuf
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,20 @@ public:
}

explicit wbuffer_convert(_Mysb* _Strbuf)
: _State(), _Pcvt(new _Codecvt), _Mystrbuf(_Strbuf), _Status(_Unused),
_Nback(0) { // construct with byte stream buffer pointer
: _State(), _Pcvt(new _Codecvt), _Mystrbuf(_Strbuf), _Status(_Unused), _Nback(0) {
// construct with byte stream buffer pointer
_Loc = locale(_Loc, _Pcvt);
}

wbuffer_convert(_Mysb* _Strbuf, const _Codecvt* _Pcvt_arg)
: _State(), _Pcvt(_Pcvt_arg), _Mystrbuf(_Strbuf), _Status(_Unused),
_Nback(0) { // construct with byte stream buffer pointer and codecvt
: _State(), _Pcvt(_Pcvt_arg), _Mystrbuf(_Strbuf), _Status(_Unused), _Nback(0) {
// construct with byte stream buffer pointer and codecvt
_Loc = locale(_Loc, _Pcvt);
}

wbuffer_convert(_Mysb* _Strbuf, const _Codecvt* _Pcvt_arg, state_type _State_arg)
: _State(_State_arg), _Pcvt(_Pcvt_arg), _Mystrbuf(_Strbuf), _Status(_Unused),
_Nback(0) { // construct with byte stream buffer pointer, codecvt, and state
: _State(_State_arg), _Pcvt(_Pcvt_arg), _Mystrbuf(_Strbuf), _Status(_Unused), _Nback(0) {
// construct with byte stream buffer pointer, codecvt, and state
_Loc = locale(_Loc, _Pcvt);
}

Expand Down

0 comments on commit cb20871

Please sign in to comment.