#include <iostream>
#include <string>
#include <type_traits>
void function ( int v = 0 ) ;
void function( const int v ) { std::cout << v << '
' ; }
' ; }
void function_two( const int v ) { std::cout << v << '
' ; }
int main()
{
function(7) ;
using function_type = void( int ) ;
function_type* fn = function ;
fn = function_two ;
using function_type_const = void( const int ) ;
function_type_const* fnconst = function ;
fnconst = function_two ;
std::cout << std::boolalpha << "void(int) and void( const int ) are the same type: "
<< std::is_same< void(int), void( const int ) >::value << '
' ;
}