mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 18:21:35 +01:00 
			
		
		
		
	do it my way, modernize cmake
build dynamic lib use makefile wrapper to test all use cases include clang-tidy config file prevent clang-tidy warnings
This commit is contained in:
		
							parent
							
								
									eedcb6f24e
								
							
						
					
					
						commit
						79060d4af6
					
				
					 10 changed files with 128 additions and 50 deletions
				
			
		|  | @ -18,17 +18,14 @@ namespace greeter { | |||
|      * @brief Creates a new greeter | ||||
|      * @param name the name to greet | ||||
|      */ | ||||
|     Greeter(std::string name); | ||||
|     explicit Greeter(std::string name); | ||||
| 
 | ||||
|     /**
 | ||||
|      * @brief Creates a localized string containing the greeting | ||||
|      * @param lang the language to greet in | ||||
|      * @return a string containing the greeting | ||||
|      */ | ||||
|     std::string greet(LanguageCode lang = LanguageCode::EN) const; | ||||
| 
 | ||||
|     /// @brief Return an iso date string
 | ||||
|     std::string getIsoDate() const; | ||||
|     [[nodiscard]] std::string greet(LanguageCode lang = LanguageCode::EN) const; | ||||
|   }; | ||||
| 
 | ||||
| }  // namespace greeter
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue