タグ

C++11に関するNyohoのブックマーク (14)

  • メルセンヌツイスタの性能差 - Qiita


      C++boostC++11boost :C++0xrandom 調    boost::random::mt19937g++std::mt19937 boost boost boost
    メルセンヌツイスタの性能差 - Qiita
    Nyoho
    Nyoho 2017/07/31
    おおC++の新しい標準のMTとboostのMTで性能差がこれだけあるのか
  • constexpr - C++入門


    constexprC++11constexprconstexpr  constexpr 
  • C++11スマートポインタ入門 - Qiita

    [2022-06-22] さすがに情報が古くなってきたため、最新の規格に合わせて記事の内容を再編集した記事を新たに書きました。よろしければ、こちらの新記事「C++20スマートポインタ入門」をご参照ください。 C++11では、unique_ptr<T> shared_ptr<T> weak_ptr<T>の3種のスマートポインタが新たに追加された。これらのスマートポインタは、いずれもメモリの動的確保の利用の際に生じる多くの危険性を低減する目的で使用されるが、それぞれ独自の考え方と機能を持っている。3種のスマートポインタを適切に使い分けることで、安全性と開発速度の向上が見込めるだけでなく、プログラマの意図に合わせて「ポインタ」を記述し分けることができる、非常に強力なツールとなる。 解説では、スマートポインタについて初めて学ぶ人を対象に、C++11で追加された3種のスマートポインタの機能と使い

    C++11スマートポインタ入門 - Qiita
  • C++11 スマートポインタの話 - ここは匣

    C++にはガーベジコレクタが言語的には存在しないので、動的に確保したオブジェクトのメモリの管理はプログラマが責任を持って管理しなければ、メモリリーク・リソースリークなどの問題を生じてしまいます。 今時のプログラマはこうした問題を引き起こすリスクを減らす為に、記述ミスの起こりやすい生のポインタを使い自力でnewとdeleteを記述する事を避けて、安全なスマートポインタ、即ちオブジェクトの寿命により自動的にメモリ解放を行う便利なポインタを利用するべきです。 しかし、スマートポインタと言っても種類が幾つかあり、落とし穴も存在するのでどういった状況でどれを利用するのが良いのかを考察してみます。 Dynamic memory managementを見てみても C++11から随分増えていますね http://en.cppreference.com/w/cpp/memory std::auto_ptr

    C++11 スマートポインタの話 - ここは匣
  • C++11 forループの速度比較と、コンパイラのループ展開 - じじいのプログラミング


    C++11 for5Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHzCPU 1.  Visual Studio 2012Release g++ 4.8.2--std=c++0x -O2 -W -Wall -Wno-sign-compare  Visual Studio 2012 g++ 4.8.2 (1
    C++11 forループの速度比較と、コンパイラのループ展開 - じじいのプログラミング
  • ドワンゴに入社した


     2013821   C++11, 14  C++11 C++14 C++14 SPAMSPAM WebC++使
  • C++11: Syntax and Feature

    C++11の文法と機能(C++11: Syntax and Feature) Copyright (C) 2013 江添亮. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GN

    Nyoho
    Nyoho 2013/11/04
  • ゲーム開発者のための C++11/C++14


    onstexprcpuGenya Murakami
    ゲーム開発者のための C++11/C++14
  • ClangがC++11を完全実装! 繰り返す、C++11を完全実装


    [Phoronix] LLVM's Clang Compiler Is Now C++11 Feature Complete C++11 support is now feature-complete. · e6e68b5 · llvm-mirror/clang · GitHub3ClangC++11 Inheriting Constructorsthread_local  static_puts said... C++11 
  • C++11 (他) 入門

    C++11 (他) 入門 1. C++11 (他) 入門 ~ Java, C, +αを学んだ貴方へ(というのは真っ赤な嘘) Yuta Hirokawa, @krustf/総長1 2012/2/15 2. 内容, 注意 Effective C++ の重要そうな部分を独断で抜き出し C++11 の規格で直結しそうな機能を幾つか紹介 テンプレートに関するテクニックを少々解説 最新規格 C++11(旧称C++0x) に則る  ウェブページや書籍では未だC++0x表記による情報が多い 検索時は気を付けること 2 導入 2012/2/15 3. 注意 C++11 完全対応コンパイラは未だ無い  2012年2月14日現在 当スライドでは以下の環境を使用する 一部以下の環境では使えないコードがある(かも) Compiler gcc 4.5 Build Option -std=gnu++0

    C++11 (他) 入門
  • Clang - C++ Programming Language Status

    The Clang community is continually striving to improve C++ standards compliance between releases by submitting and tracking C++ Defect Reports and implementing resolutions as they become available. Experimental work is also under way to implement C++ Technical Specifications that will help drive the future of the C++ programming language. The LLVM bug tracker uses the "c++" label, as well as mode-

  • gccとclangのC++0xサポートの比較


    C++0xC++gccclangMSVCC++0x gccC++0x C++0x Support in GCC - GNU Project - Free Software Foundation (FSF) clangC++ Clang - C++ and C++'0x Status 
  • GCC 4.8がリリースされた - Faith and Brave - C++で遊ぼう


    GCC 4.8 Release Series Changes, New Features, and Fixes C++  thread_local GCCC++11 alignas  C++1y-std=c++1yN3386 (libstdc++) forward_list(allocator_traits) this_thread::sleep_for()this_thread::sl
    GCC 4.8がリリースされた - Faith and Brave - C++で遊ぼう
  • 最新のC++を学ぶ - Barbara Moo氏インタビュー

    Rustが再評価される:エコシステムの現状と落とし穴 In this article, we share findings and insights about the Rust community and ecosystem and elaborate on the peculiarities and pitfalls of starting new projects with Rust or migrating to Rust from othe...

    最新のC++を学ぶ - Barbara Moo氏インタビュー
  • 1