MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / comments_test

Function comments_test

inst/tinytest/cpp/attributes.cpp:11–15  ·  view source on GitHub ↗

' @param foo // don't do anything to this ' // or this ' @param bar " // or this guy " [[Rcpp::export]] // this comment marks the following function for export

Source from the content-addressed store, hash-verified

9//' @param bar " // or this guy "
10// [[Rcpp::export]] // this comment marks the following function for export
11std::string comments_test( /// // "\""" some '"// more / // ///garbge"
12 std::string msg = "Start a C++ line comment with the characters \"//\"" // "" \" ""
13) { // """
14 return msg;
15}
16
17std::string parse_declaration_test(std::string msg) {
18 return msg;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected