PageRenderTime 47ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/go/li_std_vector_ptr_runme.go

#
Go | 12 lines | 10 code | 2 blank | 0 comment | 0 complexity | 0449cbab1b7b9089c130f7ef5389f0f4 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. package main
  2. import . "./li_std_vector_ptr"
  3. func main() {
  4. ip1 := MakeIntPtr(11)
  5. ip2 := MakeIntPtr(22)
  6. vi := NewIntPtrVector()
  7. vi.Add(ip1)
  8. vi.Add(ip2)
  9. DisplayVector(vi)
  10. }