Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 645 Bytes

DiffCpp.md

File metadata and controls

35 lines (29 loc) · 645 Bytes

Removed features from C++

  • No reference
  • No function overload by params
  • No header file
  • No implicit copying of large objects
  • No static field
  • No new, delete
  • No define multi var per statement
  • No constructor
  • No nested class, nested function
  • No class, just struct
  • No namespace
  • No macro
  • No forward declarations
  • No three static
  • No friend class
  • No multiple inheritance
  • No virtual,private inheritance
  • No i++ just ++i
  • No switch auto fallthrough
  • No template specialization

More than C++

  • Simple and easy
  • Memory safe
  • Modularization
  • With block
  • Non-nullable pointer
  • Dynamic reflection
  • Named args