[[filebuf.virtuals]](https://eel.is/c++draft/filebuf.virtuals#10) contains the following code snippet for the specification of `overflow`: ```cpp charT* b = pbase(); charT* p = pptr(); charT* end; char xbuf[XSIZE]; char* xbuf_end; codecvt_base::result r = a_codecvt.out(state, b, p, end, xbuf, xbuf+XSIZE, xbuf_end); ``` This is missing a `const` on `end` because `out` takes the argument as `const charT*&`. Similarly the specification of `underflow` [contains](https://eel.is/c++draft/filebuf.virtuals#3): ```cpp char extern_buf[XSIZE]; char* extern_end; charT intern_buf[ISIZE]; charT* intern_end; codecvt_base::result r = a_codecvt.in(state, extern_buf, extern_buf+XSIZE, extern_end, intern_buf, intern_buf+ISIZE, intern_end); ``` where a `const` is missing on `extern_end`. I am not sure this can be handled as editorial, but at least the intention here seems obvious to me.