Giter Site home page Giter Site logo

motoyang / cxx-prettyprint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from louisdx/cxx-prettyprint

0.0 2.0 0.0 57 KB

A header-only library for C++(0x) that allows automagic pretty-printing of any container.

Home Page: http://louisdx.github.com/cxx-prettyprint/

License: Boost Software License 1.0

C++ 84.39% TeX 15.61%

cxx-prettyprint's Introduction

cxx-prettyprint
===============

A pretty printing library for C++ containers.

Synopsis:
  Simply by including this header-only library in your source file,
  you can say "std::cout << x" for any container object x. Sensible
  defaults are provided, but the behaviour (i.e. the delimiters) are
  compile-time customizable to a great extent via partial specializiation.

Usage:
  Just add "#include "prettyprint.hpp" to your source file and make sure
  that prettyprint.hpp is findable.

Language requirements: C++0x for prettyprint.hpp, C++98/03 for prettyprint98.hpp

Example:
  Some usage examples are provided by ppdemo.cpp.

  Using GCC, compile with
    g++ -W -Wall -pedantic -O2 -s ppdemo.cpp -o ppdemo -std=c++0x 
    g++ -W -Wall -pedantic -O2 -s ppdemo98.cpp -o ppdemo98

For the C++98/03-version, define "NO_TR1" to prevent any inclusion of
TR1 headers and to disable std::tr1::tuple support.

For details, please see the website (http://louisdx.github.com/cxx-prettyprint/).

License: Boost Software License, Version 1.0. See http://www.boost.org/LICENSE_1_0.txt.

cxx-prettyprint's People

Contributors

louisdx avatar toroidal-code avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.