BridJ: C++ template works