SM's Development Log

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

c++11 1

[Modern C++]Initializer_list

Initializer list from Seonmun Choi Modern C++주제 : std::Initializer_list 헤더 : 설명 : initializer_list 타입의 객체는 배열 식의 접근이 가능한 경량화된 대용 객체(a lightweight proxy object)이다.기존 C++03까지는 다음과 같은 4가지의 초기화 방법을 제공하였다.예1 괄호) std::string s("apple"); 예2 =) std::string s = "apple"; int n = 0; 예3 {}) int arr[4] = {0,1,2,3}; struct tm today = {0}; 예4 생성자) struct S { int x; S(): x(0) {} } 기존 초기화의 문제점은 동적 배열의 초기화 방법이 없다..

Outdated/Library 2017.11.24
이전
1
다음
더보기
  • 분류 전체보기 (126)
    • Study (15)
      • Design Pattern (2)
      • C# (3)
      • Unity (7)
      • Data Structure (0)
      • Algorithm (1)
      • Game Server (2)
    • Cookbook (0)
      • WinAPI로 2D 게임 만들기 (0)
      • 자료구조 및 알고리즘 with C++ (0)
    • Diary (6)
      • Note (3)
      • Review (0)
      • Essay (0)
    • Outdated (104)
      • Library (4)
      • Core Language (6)
      • OS (1)
      • Infrastructure (2)
      • Algorithm Solution (67)
      • Column (11)
      • Network (2)
      • Book (6)
      • English (0)
      • Computer (1)
      • Game (4)

Tag

source control system, 형상 관리 시스템, Version Control System, OOP, 객체지향 프로그래밍, #2019 #회고록, 퍼블리, Modern C++, Computer Column, git flow, 알고리즘, 버전 관리 시스템, c++11, vcs, git, vs2015, 일잘러, 백준, BOJ, 분산형 버전 관리 시스템,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :
  • 분류 전체보기 (126)
    • Study (15)
      • Design Pattern (2)
      • C# (3)
      • Unity (7)
      • Data Structure (0)
      • Algorithm (1)
      • Game Server (2)
    • Cookbook (0)
      • WinAPI로 2D 게임 만들기 (0)
      • 자료구조 및 알고리즘 with C++ (0)
    • Diary (6)
      • Note (3)
      • Review (0)
      • Essay (0)
    • Outdated (104)
      • Library (4)
      • Core Language (6)
      • OS (1)
      • Infrastructure (2)
      • Algorithm Solution (67)
      • Column (11)
      • Network (2)
      • Book (6)
      • English (0)
      • Computer (1)
      • Game (4)

Tag

source control system, 형상 관리 시스템, Version Control System, OOP, 객체지향 프로그래밍, #2019 #회고록, 퍼블리, Modern C++, Computer Column, git flow, 알고리즘, 버전 관리 시스템, c++11, vcs, git, vs2015, 일잘러, 백준, BOJ, 분산형 버전 관리 시스템,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바