[READ-ONLY] Mirror of https://github.com/shuuji3/yasashii-cpp. Codes for "やさしいC++ 5th edition" books.google.co.jp/books?id=JHe2tAEACAAJ
0

Configure Feed

Select the types of activity you want to include in your feed.

Add settings

author
TAKAHASHI Shuuji
date (Aug 26, 2019, 3:33 AM +0900) commit 6cc72291
+157
+151
.clang-format
··· 1 + --- 2 + Language: Cpp 3 + # BasedOnStyle: Google 4 + AccessModifierOffset: -1 5 + AlignAfterOpenBracket: Align 6 + AlignConsecutiveAssignments: false 7 + AlignConsecutiveDeclarations: false 8 + AlignEscapedNewlines: Left 9 + AlignOperands: true 10 + AlignTrailingComments: true 11 + AllowAllParametersOfDeclarationOnNextLine: true 12 + AllowShortBlocksOnASingleLine: false 13 + AllowShortCaseLabelsOnASingleLine: false 14 + AllowShortFunctionsOnASingleLine: All 15 + AllowShortIfStatementsOnASingleLine: true 16 + AllowShortLoopsOnASingleLine: true 17 + AlwaysBreakAfterDefinitionReturnType: None 18 + AlwaysBreakAfterReturnType: None 19 + AlwaysBreakBeforeMultilineStrings: true 20 + AlwaysBreakTemplateDeclarations: Yes 21 + BinPackArguments: true 22 + BinPackParameters: true 23 + BraceWrapping: 24 + AfterClass: false 25 + AfterControlStatement: false 26 + AfterEnum: false 27 + AfterFunction: false 28 + AfterNamespace: false 29 + AfterObjCDeclaration: false 30 + AfterStruct: false 31 + AfterUnion: false 32 + AfterExternBlock: false 33 + BeforeCatch: false 34 + BeforeElse: false 35 + IndentBraces: false 36 + SplitEmptyFunction: true 37 + SplitEmptyRecord: true 38 + SplitEmptyNamespace: true 39 + BreakBeforeBinaryOperators: None 40 + BreakBeforeBraces: Attach 41 + BreakBeforeInheritanceComma: false 42 + BreakInheritanceList: BeforeColon 43 + BreakBeforeTernaryOperators: true 44 + BreakConstructorInitializersBeforeComma: false 45 + BreakConstructorInitializers: BeforeColon 46 + BreakAfterJavaFieldAnnotations: false 47 + BreakStringLiterals: true 48 + ColumnLimit: 80 49 + CommentPragmas: '^ IWYU pragma:' 50 + CompactNamespaces: false 51 + ConstructorInitializerAllOnOneLineOrOnePerLine: true 52 + ConstructorInitializerIndentWidth: 4 53 + ContinuationIndentWidth: 4 54 + Cpp11BracedListStyle: true 55 + DerivePointerAlignment: true 56 + DisableFormat: false 57 + ExperimentalAutoDetectBinPacking: false 58 + FixNamespaceComments: true 59 + ForEachMacros: 60 + - foreach 61 + - Q_FOREACH 62 + - BOOST_FOREACH 63 + IncludeBlocks: Preserve 64 + IncludeCategories: 65 + - Regex: '^<ext/.*\.h>' 66 + Priority: 2 67 + - Regex: '^<.*\.h>' 68 + Priority: 1 69 + - Regex: '^<.*' 70 + Priority: 2 71 + - Regex: '.*' 72 + Priority: 3 73 + IncludeIsMainRegex: '([-_](test|unittest))?$' 74 + IndentCaseLabels: true 75 + IndentPPDirectives: None 76 + IndentWidth: 2 77 + IndentWrappedFunctionNames: false 78 + JavaScriptQuotes: Leave 79 + JavaScriptWrapImports: true 80 + KeepEmptyLinesAtTheStartOfBlocks: false 81 + MacroBlockBegin: '' 82 + MacroBlockEnd: '' 83 + MaxEmptyLinesToKeep: 1 84 + NamespaceIndentation: None 85 + ObjCBinPackProtocolList: Never 86 + ObjCBlockIndentWidth: 2 87 + ObjCSpaceAfterProperty: false 88 + ObjCSpaceBeforeProtocolList: true 89 + PenaltyBreakAssignment: 2 90 + PenaltyBreakBeforeFirstCallParameter: 1 91 + PenaltyBreakComment: 300 92 + PenaltyBreakFirstLessLess: 120 93 + PenaltyBreakString: 1000 94 + PenaltyBreakTemplateDeclaration: 10 95 + PenaltyExcessCharacter: 1000000 96 + PenaltyReturnTypeOnItsOwnLine: 200 97 + PointerAlignment: Left 98 + RawStringFormats: 99 + - Language: Cpp 100 + Delimiters: 101 + - cc 102 + - CC 103 + - cpp 104 + - Cpp 105 + - CPP 106 + - 'c++' 107 + - 'C++' 108 + CanonicalDelimiter: '' 109 + BasedOnStyle: google 110 + - Language: TextProto 111 + Delimiters: 112 + - pb 113 + - PB 114 + - proto 115 + - PROTO 116 + EnclosingFunctions: 117 + - EqualsProto 118 + - EquivToProto 119 + - PARSE_PARTIAL_TEXT_PROTO 120 + - PARSE_TEST_PROTO 121 + - PARSE_TEXT_PROTO 122 + - ParseTextOrDie 123 + - ParseTextProtoOrDie 124 + CanonicalDelimiter: '' 125 + BasedOnStyle: google 126 + ReflowComments: true 127 + SortIncludes: true 128 + SortUsingDeclarations: true 129 + SpaceAfterCStyleCast: false 130 + SpaceAfterTemplateKeyword: true 131 + SpaceBeforeAssignmentOperators: true 132 + SpaceBeforeCpp11BracedList: false 133 + SpaceBeforeCtorInitializerColon: true 134 + SpaceBeforeInheritanceColon: true 135 + SpaceBeforeParens: ControlStatements 136 + SpaceBeforeRangeBasedForLoopColon: true 137 + SpaceInEmptyParentheses: false 138 + SpacesBeforeTrailingComments: 2 139 + SpacesInAngles: false 140 + SpacesInContainerLiterals: true 141 + SpacesInCStyleCastParentheses: false 142 + SpacesInParentheses: false 143 + SpacesInSquareBrackets: false 144 + Standard: Auto 145 + StatementMacros: 146 + - Q_UNUSED 147 + - QT_REQUIRE_VERSION 148 + TabWidth: 8 149 + UseTab: Never 150 + ... 151 +
+6
CMakeLists.txt
··· 1 + cmake_minimum_required(VERSION 3.14) 2 + project(yasashii_cpp) 3 + 4 + set(CMAKE_CXX_STANDARD 14) 5 + 6 + add_executable(lesson7 src/lesson-7/main.cpp)