diff --git a/doc/Attic/introduction.html b/doc/Attic/introduction.html index df9762e9..3a4fcc7c 100644 --- a/doc/Attic/introduction.html +++ b/doc/Attic/introduction.html @@ -70,7 +70,7 @@ that you need to reuse.

Now let's take that expression and place it in some C++ code to validate the format of a credit card number:

-
bool validate_card_format(const std::string s)
+      
bool validate_card_format(const std::string& s)
 {
    static const boost::regex e("(\\d{4}[- ]){3}\\d{4}");
    return regex_match(s, e);
@@ -178,3 +178,4 @@ std::string human_readable_card_number(const std::string s)
             or copy at http://www.boost.org/LICENSE_1_0.txt)

+ diff --git a/doc/introduction.html b/doc/introduction.html index df9762e9..3a4fcc7c 100644 --- a/doc/introduction.html +++ b/doc/introduction.html @@ -70,7 +70,7 @@ that you need to reuse.

Now let's take that expression and place it in some C++ code to validate the format of a credit card number:

-
bool validate_card_format(const std::string s)
+      
bool validate_card_format(const std::string& s)
 {
    static const boost::regex e("(\\d{4}[- ]){3}\\d{4}");
    return regex_match(s, e);
@@ -178,3 +178,4 @@ std::string human_readable_card_number(const std::string s)
             or copy at http://www.boost.org/LICENSE_1_0.txt)

+