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 miscco committed Jan 15, 2020
1 parent cabe4e6 commit 3dbb006
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 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
17 changes: 8 additions & 9 deletions stl/inc/xlocbuf
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,26 @@ public:
using off_type = typename _Traits::off_type;
using state_type = typename _Codecvt::state_type;

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

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 3dbb006

Please sign in to comment.