aruslan: (Default)
[personal profile] aruslan
A Brief Look at C++0x by Bjarne Stroustrup
(Читать, конечно же, нужно discussion)

Ничего нового.

  template<class T> using Vec = vector<T,My_alloc<T>>;
  Vec<double> v = { 2.3, 1.2, 6.7, 4.5  };
  sort(v);
  for(auto p = v.begin(); p!=v.end(); ++p)
      cout << *p << endl;

Date: Jan. 8th, 2006 21:50 (UTC)
From: [identity profile] dmi3s.livejournal.com
BS> C++ is my favorite garbage collected language because it produces so little garbage.
:)

Date: Jan. 9th, 2006 13:11 (UTC)
From: [identity profile] aruslan.livejournal.com
Моя любимая цитата! :)

Date: Jan. 9th, 2006 23:04 (UTC)

Date: Jan. 8th, 2006 23:25 (UTC)
From: [identity profile] sergey-shandar.livejournal.com
Насколько я понимаю, командир танка - сам Страструп.

Date: Jan. 9th, 2006 13:11 (UTC)
From: [identity profile] aruslan.livejournal.com
А ты - проницательный ;)

Date: Jan. 9th, 2006 02:13 (UTC)
From: [identity profile] cyberzx.livejournal.com
открыл форум, а там какой-то придурок предлагает писать вместо '=' слово 'as'
давить адептов бейсика!

Date: Jan. 9th, 2006 02:16 (UTC)
From: [identity profile] cyberzx.livejournal.com
ну и конечно же фраза года
"C++ is my favorite garbage collected language because it produces so little garbage."

гениально :)

Date: Jan. 9th, 2006 02:39 (UTC)
From: [identity profile] cyberzx.livejournal.com
а может быть под шумок там это... того... рефлекшена в С++ добавят? :)

Date: Jan. 9th, 2006 13:12 (UTC)
From: [identity profile] aruslan.livejournal.com
Тогда уж сразу Object Templates.

Date: Jan. 9th, 2006 13:11 (UTC)
From: [identity profile] aruslan.livejournal.com
Гениальная фраза, однозначно!

Date: Jan. 9th, 2006 06:52 (UTC)
From: [identity profile] dubor.livejournal.com
А может не всех подряд давить? Среди них белые и пушистые попадаются (мне просто по работе на VB писать приходиться), а так-то я с++ люблю =)

Date: Jan. 9th, 2006 16:44 (UTC)
From: [identity profile] copperfeet.livejournal.com
Инициализация user-defined container'ов - это сила!!!
Остальное всё шлак и украшательства.

Date: Jan. 9th, 2006 18:46 (UTC)
From: (Anonymous)
Угу. И у компилятора будет опция Merge duplicated initializers.

Date: Jan. 9th, 2006 19:36 (UTC)
From: [identity profile] aruslan.livejournal.com
Уже есть.
Динамическую инициализацию статических членов инстанциаций специализаций шаблонных классов никто не отменял.

Date: Jan. 10th, 2006 09:17 (UTC)
From: (Anonymous)
Это скороговорка? Шла Саша по шоссе и сосала?:)

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. 15th, 2026 12:06
Powered by Dreamwidth Studios