CPPConsole
Loading...
Searching...
No Matches
console.hpp File Reference
#include <iostream>
#include <iterator>
#include "template.hpp"
Include dependency graph for console.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  console
 Namespace Containing all console commands.
 

Functions

template<typename T >
void print (const T &value)
 Prints out a value.
 
template<typename T , size_t N, typename std::enable_if_t< is_not_string< T >::value, int > = 0>
void print (const T(&arr)[N])
 Prints out the values of an array.
 
template<size_t N>
void print (const char(&arr)[N])
 Prints out a char array.
 
void print (const std::string &str)
 Prints out a string.
 
void print ()
 
template<typename T >
void println (const T &value)
 Prints out an object, then a newline.
 
void println ()
 Prints out a newline.