2026-04-10 23:27:55 +02:00
|
|
|
---
|
|
|
|
|
layout: page
|
|
|
|
|
published: true
|
2026-04-11 00:18:36 +02:00
|
|
|
noToc: false
|
2026-04-10 23:27:55 +02:00
|
|
|
noComments: false
|
|
|
|
|
noDate: false
|
|
|
|
|
title: Fun - class_without_object.fun — overview
|
|
|
|
|
subtitle: Documentation for class_without_object.fun — overview
|
|
|
|
|
description: Documentation for class_without_object.fun — overview
|
|
|
|
|
permalink: /documentation/examples/class_without_object/
|
|
|
|
|
lang: en
|
|
|
|
|
tags:
|
2026-04-11 00:18:36 +02:00
|
|
|
- class_without_object
|
|
|
|
|
- example
|
2026-04-10 23:27:55 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
What it shows
|
|
|
|
|
- Class features that can be used without creating an instance (static-like usage patterns).
|
|
|
|
|
|
|
|
|
|
How to run
|
|
|
|
|
- export FUN_LIB_DIR="./lib"
|
|
|
|
|
- ./build_debug/fun examples/class_without_object.fun
|
|
|
|
|
- Or: fun examples/class_without_object.fun
|