Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Y yaml-cpp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gaoqiong
  • yaml-cpp
  • ac81d7c8832b0d0526e34b7408fd18d378b8be27

Switch branch/tag
  • yaml-cpp
  • util
  • value.cpp
Find file Normal viewHistoryPermalink
value.cpp 164 Bytes
Newer Older
Jesse Beder's avatar
Reorganized so that we don't have cyclic include problems  
Jesse Beder committed Sep 07, 2011
1
#include "yaml-cpp/value.h"
Jesse Beder's avatar
Added half of the std::map conversion (we don't have reading from Values yet)  
Jesse Beder committed Sep 08, 2011
2
#include <map>
Jesse Beder's avatar
Value stuff compiles/links with lots of placeholder functions  
Jesse Beder committed Sep 07, 2011
3
4
5

int main()
{
Jesse Beder's avatar
Updated the node/value classes with the new iterators, they compile until we...  
Jesse Beder committed Sep 10, 2011
6
	YAML::Value value = YAML::Parse("{foo: bar, monkey: value}");
Jesse Beder's avatar
Added helper emitter functions, but we have a problem: YAML::Value is already a manipulator  
Jesse Beder committed Sep 10, 2011
7
	std::cout << value << "\n";
Jesse Beder's avatar
Switched operator[] access to node reference equality, not node equality  
Jesse Beder committed Sep 09, 2011
8
	
Jesse Beder's avatar
Value stuff compiles/links with lots of placeholder functions  
Jesse Beder committed Sep 07, 2011
9
10
	return 0;
}