Changes between Version 18 and Version 19 of DocsTranslationsProject


Ignore:
Timestamp:
Jun 26, 2007, 1:41:02 PM (15 years ago)
Author:
Matias Capeletto
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DocsTranslationsProject

    v18 v19  
    5959    {{{
    6060
    61 # Boost.Bimap
     61# Boost.LibraryName
    6262#
    6363# Copyright (c) Years author name, author name
     
    214214    [[Br]] Example:
    215215    {{{
    216 
     216// Boost.LibraryName
     217//
     218// Copyright (c) Year author name, author name
     219//
     220// Distributed under the Boost Software License, Version 1.0.
     221// (See accompanying file LICENSE_1_0.txt or copy at
     222// http://www.boost.org/LICENSE_1_0.txt)
     223
     224// Doc example
     225
     226#include <string>
     227#include <iostream>
     228
     229//[ DocCodeFunctionName
     230
     231std::string greeting()
     232{
     233    return "Hello world!";
     234}
     235
     236//]
     237
     238//[ DocCodeExampleName
     239
     240int main()
     241{
     242    /*<< A callout bug >>*/
     243    std::string message = greeting();
     244    std::cout << message; /*< Inlined callout bug >*/
     245}
     246
     247//]
    217248
    218249    }}}