Document updates; Small refactoring

This commit is contained in:
Serge Lamikhov-Center 2012-11-20 19:58:28 +02:00
parent b5831faa8e
commit 16e9c36e28
4 changed files with 9 additions and 3 deletions

View File

@ -53,7 +53,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\elfio;d:\Developer\boost_1_48_0;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\elfio;c:\Developer\boost_1_52_0;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<EnablePREfast>false</EnablePREfast>
</ClCompile>
<Link>
@ -61,7 +61,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>
</AdditionalDependencies>
<AdditionalLibraryDirectories>d:\Developer\boost_1_48_0\stage11\lib</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>c:\Developer\boost_1_52_0\stage12\lib</AdditionalLibraryDirectories>
<Profile>true</Profile>
</Link>
<PostBuildEvent>

Binary file not shown.

BIN
doc/elfio.docx Normal file

Binary file not shown.

View File

@ -513,7 +513,13 @@ class elfio
//------------------------------------------------------------------------------
section* operator[]( unsigned int index ) const
{
return parent->sections_[index];
section* sec = 0;
if ( index < parent->sections_.size() ) {
sec = parent->sections_[index];
}
return sec;
}
//------------------------------------------------------------------------------