Plaster
New
List
Login
common-lisp
default
anonymous
2020.07.19 16:07:05
CL-USER> (out (:to (ensure-indenting-stream *standard-output*)) (:use smack/backend/c++-out:*c++-out-dispatch-table*) (:namespace-open "Foo") (:class "Bar" (:public) (:ctordef "Bar" () () (:comment "This is a comment") (:set "init" "true"))) (:namespace-close)) namespace Foo { class Bar { public: Bar::Bar() { // This is a comment init = true; } }; }
Raw
Annotate
Repaste
Edit