void main -> int main

[SVN r32221]
This commit is contained in:
Alexander Nasonov
2006-01-04 22:21:12 +00:00
parent 1cfbeb9bef
commit dce8922805

View File

@@ -276,7 +276,7 @@ which takes care of `typename` inside the `auto` expression.
[h4 Sample Code]
void main()
int main()
{
length::meter a(5);
force::newton b(6);
@@ -423,7 +423,7 @@ differ from the ones of real `decltype`:
int& get_value(int& a);
int get_value(const double& a);
void main()
int main()
{
int a=5;
typedef BOOST_LVALUE_TYPEOF(get_value(a)) type;