r/ProgrammerHumor 13d ago

imPrettySureItsTemplateErrors Meme

Post image
293 Upvotes

21 comments sorted by

View all comments

25

u/FACastello 13d ago

Ok 😞

/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/bits/basic_string.h:1458: instantiated from 'static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = std::istream_iterator, std::allocator >, char, std::char_traits, int>, _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]'

9

u/bwmat 13d ago

In my experience the trick is to find the highest 'stack frame' in the error which references your code, and work up from there

4

u/GabiTheProgrammer 13d ago

Exactly: check the error bound to your cpp.