C++ interface: print protected constructors before public ones
commit1dd5342607059a4cac7c01c645a2f6e1f6c686f8
authorSven Verdoolaege <sven@cerebras.net>
Wed, 28 Jul 2021 13:22:49 +0000 (28 15:22 +0200)
committerSven Verdoolaege <sven@cerebras.net>
Sat, 23 Oct 2021 11:06:35 +0000 (23 13:06 +0200)
tree5328c6078214b267abd9fd9d7772cc21a377128d
parentce307ec1c2caa751ddbb150c0db3265b79f7eb26
C++ interface: print protected constructors before public ones

This matches the order of the constructor declarations
in plain_cpp_generator::print_class, making it easier
to extract out a shared print_public_methods in the next commit.

Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
interface/plain_cpp.cc