| 
    MimIR 0.1
    
   MimIR is my Intermediate Representation 
   | 
 
#include <functional>#include <iostream>#include <ostream>#include <ranges>#include <sstream>#include <string>#include <fe/assert.h>Go to the source code of this file.
Classes | |
| struct | mim::Elem< R, F > | 
Use with print to output complicated std::ranges::ranges.  More... | |
| class | mim::Tab | 
| Keeps track of indentation level.  More... | |
Namespaces | |
| namespace | mim | 
Functions | |
out/err  | |
mim::prints to   | |
| template<class... Args> | |
| std::ostream & | mim::outf (const char *fmt, Args &&... args) | 
| template<class... Args> | |
| std::ostream & | mim::errf (const char *fmt, Args &&... args) | 
| template<class... Args> | |
| std::ostream & | mim::outln (const char *fmt, Args &&... args) | 
| template<class... Args> | |
| std::ostream & | mim::errln (const char *fmt, Args &&... args) | 
Formatted Output | |
 Provides a  Use  
  | |
| #define | assertf(condition, ...) | 
| std::ostream & | mim::print (std::ostream &os, const char *s) | 
| Base case.   | |
| template<class T, class... Args> | |
| std::ostream & | mim::print (std::ostream &os, const char *s, T &&t, Args &&... args) | 
| template<class... Args> | |
| std::ostream & | mim::println (std::ostream &os, const char *fmt, Args &&... args) | 
As above but end with std::endl.   | |
| template<class... Args> | |
| std::string | mim::fmt (const char *s, Args &&... args) | 
Wraps mim::print to output a formatted std:string.   | |
| template<class T = std::logic_error, class... Args> | |
| void | mim::error (const char *fmt, Args &&... args) | 
Wraps mim::print to throw T with a formatted message.   | |
| #define assertf | ( | condition, | |
| ... ) | 
Definition at line 183 of file print.h.
Referenced by mim::World::dump().