aruslan: (Default)
[personal profile] aruslan
Вчера внимательно читал стандарт C++ по поводу специализаций (был интересный вопрос от CEMEHа) и наткнулся на лимерик в конце абсолютно кошмарного 14.7.3/7:

  When writing a specialization, 
  be careful about its location; 
    or to make it compile
    will be such a trial 
  as to kindle its self-immolation.

Я люблю вставлять в документацию метки-сюрпризы, по которым легко узнать, читают документы или нет :)
Но увидеть такое в международном стандарте ISO/IEC 14882...
И, уж тем более, найти в предметном указателе стандарта ссылку на лимерик в виде "immolation, self":
  ...
  imbue
    basic_filebuf 669
    basic_ios 621
    basic_streambuf 631
    ios_base 616
  immolation, self 279
  implementation
    defined alignment of bit-field 163
  ...

Я рыдалъ :))

Update: Товарищ Coriolan на gamedev.ru тоже проткнулся :)
Update 2: Funny Things Seen in Source Code and Documentation
Update 3: "... It's not the only inside joke in that standard, for that matter." (c) Matt Austern

Date: Jan. 18th, 2005 11:19 (UTC)
From: [identity profile] cyberzx.livejournal.com
потрясающе! :)

Date: Jan. 18th, 2005 14:24 (UTC)
From: [identity profile] maths-fan.livejournal.com
Суперски!!!! Спасибо :)

Profile

aruslan: (Default)
aruslan

January 2014

S M T W T F S
   1234
56789 1011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 17th, 2026 18:56
Powered by Dreamwidth Studios