mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
fix invalid code
This commit is contained in:
parent
25e3ec4652
commit
1c0e2b7d11
|
@ -16138,7 +16138,7 @@ This enables the compiler to do an early consistency check.
|
|||
|
||||
// foo.h:
|
||||
void foo(int);
|
||||
int bar(long double);
|
||||
int bar(long);
|
||||
int foobar(int);
|
||||
|
||||
// foo.cpp:
|
||||
|
@ -16152,7 +16152,7 @@ The errors will not be caught until link time for a program calling `bar` or `fo
|
|||
|
||||
// foo.h:
|
||||
void foo(int);
|
||||
int bar(long double);
|
||||
int bar(long);
|
||||
int foobar(int);
|
||||
|
||||
// foo.cpp:
|
||||
|
|
Loading…
Reference in New Issue
Block a user