🚧 made type_name() public
This commit is contained in:
		
							parent
							
								
									145188f264
								
							
						
					
					
						commit
						ce0b3fe5a3
					
				
					 5 changed files with 40 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -7767,7 +7767,6 @@ class basic_json
 | 
			
		|||
 | 
			
		||||
    /// @}
 | 
			
		||||
 | 
			
		||||
  private:
 | 
			
		||||
    ///////////////////////////
 | 
			
		||||
    // convenience functions //
 | 
			
		||||
    ///////////////////////////
 | 
			
		||||
| 
						 | 
				
			
			@ -7782,6 +7781,9 @@ class basic_json
 | 
			
		|||
 | 
			
		||||
    @complexity Constant.
 | 
			
		||||
 | 
			
		||||
    @liveexample{The following code exemplifies `type_name()` for all JSON
 | 
			
		||||
    types.,typename}
 | 
			
		||||
 | 
			
		||||
    @since version 1.0.0
 | 
			
		||||
    */
 | 
			
		||||
    std::string type_name() const
 | 
			
		||||
| 
						 | 
				
			
			@ -7805,6 +7807,7 @@ class basic_json
 | 
			
		|||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  private:
 | 
			
		||||
    /*!
 | 
			
		||||
    @brief calculates the extra space to escape a JSON string
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7767,7 +7767,6 @@ class basic_json
 | 
			
		|||
 | 
			
		||||
    /// @}
 | 
			
		||||
 | 
			
		||||
  private:
 | 
			
		||||
    ///////////////////////////
 | 
			
		||||
    // convenience functions //
 | 
			
		||||
    ///////////////////////////
 | 
			
		||||
| 
						 | 
				
			
			@ -7782,6 +7781,9 @@ class basic_json
 | 
			
		|||
 | 
			
		||||
    @complexity Constant.
 | 
			
		||||
 | 
			
		||||
    @liveexample{The following code exemplifies `type_name()` for all JSON
 | 
			
		||||
    types.,typename}
 | 
			
		||||
 | 
			
		||||
    @since version 1.0.0
 | 
			
		||||
    */
 | 
			
		||||
    std::string type_name() const
 | 
			
		||||
| 
						 | 
				
			
			@ -7805,6 +7807,7 @@ class basic_json
 | 
			
		|||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  private:
 | 
			
		||||
    /*!
 | 
			
		||||
    @brief calculates the extra space to escape a JSON string
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue